summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/tr.c b/coreutils/tr.c
index 1e402dfdb..7fe7f89d5 100644
--- a/coreutils/tr.c
+++ b/coreutils/tr.c
@@ -299,7 +299,7 @@ int tr_main(int argc UNUSED_PARAM, char **argv)
*/
/* '+': stop at first non-option */
- opts = getopt32(argv, "^+" "Ccds" "\0" "-1");
+ opts = getopt32(argv, "^+" "Ccds" "\0" "-1:?2");
argv += optind;
str1_length = expand(*argv++, &str1);