aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-21 00:37:42 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-21 00:37:42 +0000
commite17c80e60410c0f90896b62d2759ca46c045da57 (patch)
tree590c619f048373aa0b063d421b89cfd67bbf6f43
parenta2841e6d4b404857d91ecde7b93e677681b9dca2 (diff)
downloadbusybox-e17c80e60410c0f90896b62d2759ca46c045da57.tar.gz
translate Russian-English to just plain English
-rw-r--r--libbb/getopt_ulflags.c12
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:
root:x:0:0:root:/root:/bin/bash
user:x:500:500::/home/user:/bin/bash
- "--" A double dash as the first char in a bb_opt_complementally group
- means make first argv[1] as option always as may be added -, special
- for "ar" and "tar" applets.
+ "--" A double dash at the beginning of bb_opt_complementally means the
+ argv[1] string should always be treated as options, even if it isn't
+ prefixed with a "-". This is to support the special syntax in applets
+ such as "ar" and "tar":
+ tar xvf foo.tar
- "?" A "ask" between main and group options causes the second of the two
+ "?" An "ask" between main and group options causes the second of the two
to be depending required as or if first is given on the command line.
For example from "id" applet:
@@ -264,6 +266,8 @@ Special characters:
*/
+/* this should be bb_opt_complementary, but we'll just keep it as
+ bb_opt_complementally due to the Russian origins */
const char *bb_opt_complementally;
typedef struct {