diff options
Diffstat (limited to 'coreutils/expand.c')
-rw-r--r-- | coreutils/expand.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/expand.c b/coreutils/expand.c index fa3ff18f4..91084b80b 100644 --- a/coreutils/expand.c +++ b/coreutils/expand.c | |||
@@ -174,9 +174,10 @@ int expand_main(int argc UNUSED_PARAM, char **argv) | |||
174 | , &opt_t | 174 | , &opt_t |
175 | ); | 175 | ); |
176 | } else { | 176 | } else { |
177 | /* -t NUM sets also -a */ | 177 | opt = getopt32long(argv, "^" |
178 | opt_complementary = "ta"; | 178 | "ft:a" |
179 | opt = getopt32long(argv, "ft:a", | 179 | "\0" |
180 | "ta" /* -t NUM sets -a */, | ||
180 | "first-only\0" No_argument "i" | 181 | "first-only\0" No_argument "i" |
181 | "tabs\0" Required_argument "t" | 182 | "tabs\0" Required_argument "t" |
182 | "all\0" No_argument "a" | 183 | "all\0" No_argument "a" |