diff options
Diffstat (limited to 'coreutils/expand.c')
-rw-r--r-- | coreutils/expand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c index 4b5fa1038..274753fd4 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -153,12 +153,12 @@ int expand_main(int argc, char **argv) | |||
153 | 153 | ||
154 | if (ENABLE_EXPAND && (!ENABLE_UNEXPAND || applet_name[0] == 'e')) { | 154 | if (ENABLE_EXPAND && (!ENABLE_UNEXPAND || applet_name[0] == 'e')) { |
155 | USE_FEATURE_EXPAND_LONG_OPTIONS(applet_long_options = expand_longopts); | 155 | USE_FEATURE_EXPAND_LONG_OPTIONS(applet_long_options = expand_longopts); |
156 | opt = getopt32(argc, argv, "it:", &opt_t); | 156 | opt = getopt32(argv, "it:", &opt_t); |
157 | } else if (ENABLE_UNEXPAND) { | 157 | } else if (ENABLE_UNEXPAND) { |
158 | USE_FEATURE_UNEXPAND_LONG_OPTIONS(applet_long_options = unexpand_longopts); | 158 | USE_FEATURE_UNEXPAND_LONG_OPTIONS(applet_long_options = unexpand_longopts); |
159 | /* -t NUM sets also -a */ | 159 | /* -t NUM sets also -a */ |
160 | opt_complementary = "ta"; | 160 | opt_complementary = "ta"; |
161 | opt = getopt32(argc, argv, "ft:a", &opt_t); | 161 | opt = getopt32(argv, "ft:a", &opt_t); |
162 | /* -f --first-only is the default */ | 162 | /* -f --first-only is the default */ |
163 | if (!(opt & OPT_ALL)) opt |= OPT_INITIAL; | 163 | if (!(opt & OPT_ALL)) opt |= OPT_INITIAL; |
164 | } | 164 | } |