Skip to content

Commit b5442ca

Browse files
committed
Merge branch 'maint'
* maint: parse-options: clarify PARSE_OPT_NOARG description t3302 (notes): Port to Solaris
2 parents 25641fc + ef45e4d commit b5442ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parse-options.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ typedef int parse_opt_cb(const struct option *, const char *arg, int unset);
6969
* `flags`::
7070
* mask of parse_opt_option_flags.
7171
* PARSE_OPT_OPTARG: says that the argument is optional (not for BOOLEANs)
72-
* PARSE_OPT_NOARG: says that this option takes no argument
72+
* PARSE_OPT_NOARG: says that this option does not take an argument
7373
* PARSE_OPT_NONEG: says that this option cannot be negated
7474
* PARSE_OPT_HIDDEN: this option is skipped in the default usage, and
7575
* shown only in the full usage.

t/t3302-notes-index-expensive.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ time_notes () {
9898
for mode in no-notes notes
9999
do
100100
echo $mode
101-
/usr/bin/time sh ../time_notes $mode $1
101+
/usr/bin/time "$SHELL_PATH" ../time_notes $mode $1
102102
done
103103
}
104104

0 commit comments

Comments
 (0)