diff options
Diffstat (limited to 'coreutils/cat.c')
-rw-r--r-- | coreutils/cat.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/coreutils/cat.c b/coreutils/cat.c index 390254512..7e35fa5ee 100644 --- a/coreutils/cat.c +++ b/coreutils/cat.c | |||
@@ -170,9 +170,11 @@ int cat_main(int argc UNUSED_PARAM, char **argv) | |||
170 | { | 170 | { |
171 | unsigned opts; | 171 | unsigned opts; |
172 | 172 | ||
173 | IF_FEATURE_CATV(opt_complementary = "Aetv"; /* -A == -vet */) | 173 | opts = getopt32(argv, IF_FEATURE_CATV("^") |
174 | /* -u is ignored ("unbuffered") */ | 174 | /* -u is ignored ("unbuffered") */ |
175 | opts = getopt32(argv, IF_FEATURE_CATV("etvA") IF_FEATURE_CATN("nb") "u"); | 175 | IF_FEATURE_CATV("etvA")IF_FEATURE_CATN("nb")"u" |
176 | IF_FEATURE_CATV("\0" "Aetv" /* -A == -vet */) | ||
177 | ); | ||
176 | argv += optind; | 178 | argv += optind; |
177 | 179 | ||
178 | /* Read from stdin if there's nothing else to do. */ | 180 | /* Read from stdin if there's nothing else to do. */ |