diff options
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/getopt_ulflags.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libbb/getopt_ulflags.c b/libbb/getopt_ulflags.c index 3e77bbfea..d8919abca 100644 --- a/libbb/getopt_ulflags.c +++ b/libbb/getopt_ulflags.c | |||
| @@ -230,11 +230,13 @@ Special characters: | |||
| 230 | root:x:0:0:root:/root:/bin/bash | 230 | root:x:0:0:root:/root:/bin/bash |
| 231 | user:x:500:500::/home/user:/bin/bash | 231 | user:x:500:500::/home/user:/bin/bash |
| 232 | 232 | ||
| 233 | "--" A double dash as the first char in a bb_opt_complementally group | 233 | "--" A double dash at the beginning of bb_opt_complementally means the |
| 234 | means make first argv[1] as option always as may be added -, special | 234 | argv[1] string should always be treated as options, even if it isn't |
| 235 | for "ar" and "tar" applets. | 235 | prefixed with a "-". This is to support the special syntax in applets |
| 236 | such as "ar" and "tar": | ||
| 237 | tar xvf foo.tar | ||
| 236 | 238 | ||
| 237 | "?" A "ask" between main and group options causes the second of the two | 239 | "?" An "ask" between main and group options causes the second of the two |
| 238 | to be depending required as or if first is given on the command line. | 240 | to be depending required as or if first is given on the command line. |
| 239 | For example from "id" applet: | 241 | For example from "id" applet: |
| 240 | 242 | ||
| @@ -264,6 +266,8 @@ Special characters: | |||
| 264 | 266 | ||
| 265 | */ | 267 | */ |
| 266 | 268 | ||
| 269 | /* this should be bb_opt_complementary, but we'll just keep it as | ||
| 270 | bb_opt_complementally due to the Russian origins */ | ||
| 267 | const char *bb_opt_complementally; | 271 | const char *bb_opt_complementally; |
| 268 | 272 | ||
| 269 | typedef struct { | 273 | typedef struct { |
