svn commit: trunk/busybox/libbb
vapier at busybox.net
vapier at busybox.net
Wed Feb 22 22:56:30 UTC 2006
Author: vapier
Date: 2006-02-22 14:56:30 -0800 (Wed, 22 Feb 2006)
New Revision: 14216
Log:
document leading + option
Modified:
trunk/busybox/libbb/getopt_ulflags.c
Changeset:
Modified: trunk/busybox/libbb/getopt_ulflags.c
===================================================================
--- trunk/busybox/libbb/getopt_ulflags.c 2006-02-22 22:51:24 UTC (rev 14215)
+++ trunk/busybox/libbb/getopt_ulflags.c 2006-02-22 22:56:30 UTC (rev 14216)
@@ -69,6 +69,13 @@
by the "::" special separator that is set in the external string
bb_opt_complementally (see below for more info).
+ "+" If the first character in the applet_opts string is a plus,
+ then option processing will stop as soon as a non-option is
+ encountered in the argv array. Useful for applets like env
+ which should not process arguments to subprograms:
+ env -i ls -d /
+ Here we want env to process just the '-i', not the '-d'.
+
static const struct option bb_default_long_options[]
This struct allows you to define long options. The syntax for
More information about the busybox-cvs
mailing list