aboutsummaryrefslogtreecommitdiff
path: root/coreutils/shuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/shuf.c')
-rw-r--r--coreutils/shuf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/coreutils/shuf.c b/coreutils/shuf.c
index 403041534..d0caaa2ce 100644
--- a/coreutils/shuf.c
+++ b/coreutils/shuf.c
@@ -70,8 +70,11 @@ int shuf_main(int argc, char **argv)
70 unsigned numlines; 70 unsigned numlines;
71 char eol; 71 char eol;
72 72
73 opt_complementary = "e--i:i--e"; /* mutually exclusive */ 73 opts = getopt32(argv, "^"
74 opts = getopt32(argv, OPT_STR, &opt_i_str, &opt_n_str, &opt_o_str); 74 OPT_STR
75 "\0" "e--i:i--e"/* mutually exclusive */,
76 &opt_i_str, &opt_n_str, &opt_o_str
77 );
75 78
76 argc -= optind; 79 argc -= optind;
77 argv += optind; 80 argv += optind;