diff options
Diffstat (limited to 'coreutils/uudecode.c')
-rw-r--r-- | coreutils/uudecode.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c index 02b037276..a607977e9 100644 --- a/coreutils/uudecode.c +++ b/coreutils/uudecode.c | |||
@@ -183,7 +183,7 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv) | |||
183 | //usage:#define base32_trivial_usage | 183 | //usage:#define base32_trivial_usage |
184 | //usage: "[-d] [-w COL] [FILE]" | 184 | //usage: "[-d] [-w COL] [FILE]" |
185 | //usage:#define base32_full_usage "\n\n" | 185 | //usage:#define base32_full_usage "\n\n" |
186 | //usage: "Base32 encode or decode FILE to standard output" | 186 | //usage: "Base32 encode or decode FILE to standard output\n" |
187 | //usage: "\n -d Decode data" | 187 | //usage: "\n -d Decode data" |
188 | //usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)" | 188 | //usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)" |
189 | ////usage: "\n -i When decoding, ignore non-alphabet characters" | 189 | ////usage: "\n -i When decoding, ignore non-alphabet characters" |
@@ -191,10 +191,12 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv) | |||
191 | //usage:#define base64_trivial_usage | 191 | //usage:#define base64_trivial_usage |
192 | //usage: "[-d] [-w COL] [FILE]" | 192 | //usage: "[-d] [-w COL] [FILE]" |
193 | //usage:#define base64_full_usage "\n\n" | 193 | //usage:#define base64_full_usage "\n\n" |
194 | //usage: "Base64 encode or decode FILE to standard output" | 194 | //usage: "Base64 encode or decode FILE to standard output\n" |
195 | //usage: "\n -d Decode data" | 195 | //usage: "\n -d Decode data" |
196 | //usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)" | 196 | //usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)" |
197 | ////usage: "\n -i When decoding, ignore non-alphabet characters" | 197 | ///////: "\n -i When decoding, ignore non-alphabet characters" |
198 | // -i is accepted but has no effect: currently, decode_base32/64() functions | ||
199 | // (called via read_base64()) skip invalid chars unconditionally. | ||
198 | 200 | ||
199 | // APPLET_ODDNAME:name main location suid_type help | 201 | // APPLET_ODDNAME:name main location suid_type help |
200 | //applet:IF_BASE32(APPLET_ODDNAME(base32, baseNUM, BB_DIR_BIN, BB_SUID_DROP, base32)) | 202 | //applet:IF_BASE32(APPLET_ODDNAME(base32, baseNUM, BB_DIR_BIN, BB_SUID_DROP, base32)) |
@@ -272,7 +274,7 @@ int baseNUM_main(int argc UNUSED_PARAM, char **argv) | |||
272 | unsigned opts; | 274 | unsigned opts; |
273 | unsigned col = 76; | 275 | unsigned col = 76; |
274 | 276 | ||
275 | opts = getopt32(argv, "^" "dw:+" "\0" "?1"/* 1 arg max*/, &col); | 277 | opts = getopt32(argv, "^" "diw:+" "\0" "?1"/* 1 arg max*/, &col); |
276 | argv += optind; | 278 | argv += optind; |
277 | 279 | ||
278 | if (!argv[0]) | 280 | if (!argv[0]) |