diff options
Diffstat (limited to 'coreutils/tr.c')
-rw-r--r-- | coreutils/tr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c index 64e4efc91..c5872434a 100644 --- a/coreutils/tr.c +++ b/coreutils/tr.c | |||
@@ -298,8 +298,8 @@ int tr_main(int argc UNUSED_PARAM, char **argv) | |||
298 | * In POSIX locale, these are the same. | 298 | * In POSIX locale, these are the same. |
299 | */ | 299 | */ |
300 | 300 | ||
301 | opt_complementary = "-1"; | 301 | /* '+': stop at first non-option */ |
302 | opts = getopt32(argv, "+Ccds"); /* '+': stop at first non-option */ | 302 | opts = getopt32(argv, "^+" "Ccds" "\0" "-1"); |
303 | argv += optind; | 303 | argv += optind; |
304 | 304 | ||
305 | str1_length = expand(*argv++, &str1); | 305 | str1_length = expand(*argv++, &str1); |