aboutsummaryrefslogtreecommitdiff
path: root/libbb/getopt32.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2024-12-11 01:10:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2024-12-11 01:10:05 +0100
commita4894eaf713f0e452c272db1c5dc2a459e05808f (patch)
tree6518adc43f22b35168c217b0ffadec8602b9e86e /libbb/getopt32.c
parent9e364b16d1020cb7b8f8f4d4f3fe1833496b7a12 (diff)
downloadbusybox-w32-a4894eaf713f0e452c272db1c5dc2a459e05808f.tar.gz
busybox-w32-a4894eaf713f0e452c272db1c5dc2a459e05808f.tar.bz2
busybox-w32-a4894eaf713f0e452c272db1c5dc2a459e05808f.zip
cut: tweak --help
function old new delta packed_usage 34901 34934 +33 cut_main 1353 1339 -14 .rodata 105724 105685 -39 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/2 up/down: 33/-53) Total: -20 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r--libbb/getopt32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/getopt32.c b/libbb/getopt32.c
index a8dd85159..b5efa19ac 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -93,7 +93,7 @@ getopt32(char **argv, const char *applet_opts, ...)
93 93
94 "!" If the first character in the applet_opts string is a '!', 94 "!" If the first character in the applet_opts string is a '!',
95 report bad options, missing required options, 95 report bad options, missing required options,
96 inconsistent options with all-ones return value (instead of abort. 96 inconsistent options with all-ones return value instead of aborting.
97 97
98 "+" If the first character in the applet_opts string is a plus, 98 "+" If the first character in the applet_opts string is a plus,
99 then option processing will stop as soon as a non-option is 99 then option processing will stop as soon as a non-option is
@@ -265,7 +265,7 @@ Special characters:
265 for "long options only" cases, such as tar --exclude=PATTERN, 265 for "long options only" cases, such as tar --exclude=PATTERN,
266 wget --header=HDR cases. 266 wget --header=HDR cases.
267 267
268 "a?b" A "?" between an option and a group of options means that 268 "a?bc" A "?" between an option and a group of options means that
269 at least one of them is required to occur if the first option 269 at least one of them is required to occur if the first option
270 occurs in preceding command line arguments. 270 occurs in preceding command line arguments.
271 271