aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-22 22:56:30 +0000
committervapier <vapier@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-02-22 22:56:30 +0000
commit052ac46462beeed03a26ec97e56a368a8e1d7f25 (patch)
tree6a5ddcf931a271e03db957e2d5c72c1a02b05c6b /libbb
parent4a51903b6935ba6ebf9ea15fb9e6ac9bfed80f64 (diff)
downloadbusybox-w32-052ac46462beeed03a26ec97e56a368a8e1d7f25.tar.gz
busybox-w32-052ac46462beeed03a26ec97e56a368a8e1d7f25.tar.bz2
busybox-w32-052ac46462beeed03a26ec97e56a368a8e1d7f25.zip
document leading + option
git-svn-id: svn://busybox.net/trunk/busybox@14216 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r--libbb/getopt_ulflags.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbb/getopt_ulflags.c b/libbb/getopt_ulflags.c
index bfd7aae7f..199147b76 100644
--- a/libbb/getopt_ulflags.c
+++ b/libbb/getopt_ulflags.c
@@ -69,6 +69,13 @@ bb_getopt_ulflags (int argc, char **argv, const char *applet_opts, ...)
69 by the "::" special separator that is set in the external string 69 by the "::" special separator that is set in the external string
70 bb_opt_complementally (see below for more info). 70 bb_opt_complementally (see below for more info).
71 71
72 "+" If the first character in the applet_opts string is a plus,
73 then option processing will stop as soon as a non-option is
74 encountered in the argv array. Useful for applets like env
75 which should not process arguments to subprograms:
76 env -i ls -d /
77 Here we want env to process just the '-i', not the '-d'.
78
72static const struct option bb_default_long_options[] 79static const struct option bb_default_long_options[]
73 80
74 This struct allows you to define long options. The syntax for 81 This struct allows you to define long options. The syntax for