Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
a028f23e
Commit
a028f23e
authored
Jan 16, 2011
by
Brad Hards
Committed by
Rusty Russell
Jan 17, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt: spelling fixes.
parent
2488a379
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ccan/opt/opt.h
ccan/opt/opt.h
+6
-6
No files found.
ccan/opt/opt.h
View file @
a028f23e
...
...
@@ -32,7 +32,7 @@ struct opt_table {
* @arg: the argument to hand to @cb.
* @desc: the description for opt_usage(), or opt_hidden.
*
* This is a typesafe wrapper for intializing a struct opt_table. The callback
* This is a typesafe wrapper for in
i
tializing a struct opt_table. The callback
* of type "char *cb(type *)", "char *cb(const type *)" or "char *cb(void *)",
* where "type" is the type of the @arg argument.
*
...
...
@@ -42,7 +42,7 @@ struct opt_table {
*
* Any number of equivalent short or long options can be listed in @names,
* separated by '|'. Short options are a single hyphen followed by a single
* character, long options are two hypens followed by one or more characters.
* character, long options are two hyp
h
ens followed by one or more characters.
*
* See Also:
* OPT_WITH_ARG()
...
...
@@ -58,7 +58,7 @@ struct opt_table {
* @arg: the argument to hand to @cb and @show
* @desc: the description for opt_usage(), or opt_hidden.
*
* This is a typesafe wrapper for intializing a struct opt_table. The callback
* This is a typesafe wrapper for in
i
tializing a struct opt_table. The callback
* is of type "char *cb(const char *, type *)",
* "char *cb(const char *, const type *)" or "char *cb(const char *, void *)",
* where "type" is the type of the @arg argument. The first argument to the
...
...
@@ -71,7 +71,7 @@ struct opt_table {
*
* Any number of equivalent short or long options can be listed in @names,
* separated by '|'. Short options are a single hyphen followed by a single
* character, long options are two hypens followed by one or more characters.
* character, long options are two hyp
h
ens followed by one or more characters.
* A space or equals in @names is ignored for parsing, and only used
* for printing the usage.
*
...
...
@@ -131,7 +131,7 @@ void opt_register_table(const struct opt_table table[], const char *desc);
* @names: the names of the option eg. "--foo", "-f" or "--foo|-f|--foobar".
* @cb: the callback when the option is found.
* @arg: the argument to hand to @cb.
* @desc: the verbose desction of the option (for opt_usage()), or NULL.
* @desc: the verbose desc
rip
tion of the option (for opt_usage()), or NULL.
*
* This is used for registering a single commandline option which takes
* no argument.
...
...
@@ -153,7 +153,7 @@ void opt_register_table(const struct opt_table table[], const char *desc);
* @cb: the callback when the option is found.
* @show: the callback to print the value in get_usage (or NULL)
* @arg: the argument to hand to @cb.
* @desc: the verbose desction of the option (for opt_usage()), or NULL.
* @desc: the verbose desc
rip
tion of the option (for opt_usage()), or NULL.
*
* This is used for registering a single commandline option which takes
* an argument.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment