Skip to content

Commit 65c9fee

Browse files
Ingo Molnaracmel
authored andcommitted
tools lib subcmd: Fix a few source code comment typos
Go over the tools/ files that are maintained in Arnaldo's tree and fix common typos: half of them were in comments, the other half in JSON files. No change in functionality intended. Committer notes: This was split from a larger patch as there are code that is, additionally, maintained outside the kernel tree, so to ease cherry-picking and/or backporting, split this into multiple patches. Signed-off-by: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Josh Poimboeuf <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent adba163 commit 65c9fee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/lib/subcmd/parse-options.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ typedef int parse_opt_cb(const struct option *, const char *arg, int unset);
7171
*
7272
* `argh`::
7373
* token to explain the kind of argument this option wants. Keep it
74-
* homogenous across the repository.
74+
* homogeneous across the repository.
7575
*
7676
* `help`::
7777
* the short help associated to what the option does.
@@ -80,7 +80,7 @@ typedef int parse_opt_cb(const struct option *, const char *arg, int unset);
8080
*
8181
* `flags`::
8282
* mask of parse_opt_option_flags.
83-
* PARSE_OPT_OPTARG: says that the argument is optionnal (not for BOOLEANs)
83+
* PARSE_OPT_OPTARG: says that the argument is optional (not for BOOLEANs)
8484
* PARSE_OPT_NOARG: says that this option takes no argument, for CALLBACKs
8585
* PARSE_OPT_NONEG: says that this option cannot be negated
8686
* PARSE_OPT_HIDDEN this option is skipped in the default usage, showed in

0 commit comments

Comments
 (0)