aboutsummaryrefslogtreecommitdiff
path: root/coreutils/uudecode.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/uudecode.c')
-rw-r--r--coreutils/uudecode.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index 4e72e86ee..5ef05ee4d 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -120,8 +120,7 @@ int uudecode_main(int argc UNUSED_PARAM, char **argv)
120 char *outname = NULL; 120 char *outname = NULL;
121 char *line; 121 char *line;
122 122
123 opt_complementary = "?1"; /* 1 argument max */ 123 getopt32(argv, "^" "o:" "\0" "?1"/* 1 arg max*/, &outname);
124 getopt32(argv, "o:", &outname);
125 argv += optind; 124 argv += optind;
126 125
127 if (!argv[0]) 126 if (!argv[0])
@@ -196,8 +195,7 @@ int base64_main(int argc UNUSED_PARAM, char **argv)
196 FILE *src_stream; 195 FILE *src_stream;
197 unsigned opts; 196 unsigned opts;
198 197
199 opt_complementary = "?1"; /* 1 argument max */ 198 opts = getopt32(argv, "^" "d" "\0" "?1"/* 1 arg max*/);
200 opts = getopt32(argv, "d");
201 argv += optind; 199 argv += optind;
202 200
203 if (!argv[0]) 201 if (!argv[0])