Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
etherlabmaster
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ICS Control System Infrastructure
etherlabmaster
Commits
fa126f72
Commit
fa126f72
authored
16 years ago
by
Florian Pose
Browse files
Options
Downloads
Patches
Plain Diff
Fixed typos.
parent
fdbc4649
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tool/main.cpp
+2
-2
2 additions, 2 deletions
tool/main.cpp
with
2 additions
and
2 deletions
tool/main.cpp
+
2
−
2
View file @
fa126f72
...
@@ -84,7 +84,7 @@ static const Command commands[] = {
...
@@ -84,7 +84,7 @@ static const Command commands[] = {
INIT_COMMAND
(
sii_read
,
"Output a slave's SII contents."
),
INIT_COMMAND
(
sii_read
,
"Output a slave's SII contents."
),
INIT_COMMAND
(
sii_write
,
"Write slave's SII contents."
),
INIT_COMMAND
(
sii_write
,
"Write slave's SII contents."
),
INIT_COMMAND
(
states
,
"Request slave states."
),
INIT_COMMAND
(
states
,
"Request slave states."
),
INIT_COMMAND
(
xml
,
"Generate slave information
xmls
."
),
INIT_COMMAND
(
xml
,
"Generate slave information
XML
."
),
};
};
static
const
Command
*
cmdEnd
=
commands
+
sizeof
(
commands
)
/
sizeof
(
Command
);
static
const
Command
*
cmdEnd
=
commands
+
sizeof
(
commands
)
/
sizeof
(
Command
);
...
@@ -344,7 +344,7 @@ int main(int argc, char **argv)
...
@@ -344,7 +344,7 @@ int main(int argc, char **argv)
cmd
->
displayHelp
();
cmd
->
displayHelp
();
}
}
}
else
{
}
else
{
cerr
<<
"Ambigous command abbreviation! Matching:"
<<
endl
;
cerr
<<
"Ambig
u
ous command abbreviation! Matching:"
<<
endl
;
for
(
ci
=
commands
.
begin
();
ci
!=
commands
.
end
();
ci
++
)
{
for
(
ci
=
commands
.
begin
();
ci
!=
commands
.
end
();
ci
++
)
{
cerr
<<
(
*
ci
)
->
name
<<
endl
;
cerr
<<
(
*
ci
)
->
name
<<
endl
;
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment