diff options
Diffstat (limited to 'util-linux/hexdump_xxd.c')
-rw-r--r-- | util-linux/hexdump_xxd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/util-linux/hexdump_xxd.c b/util-linux/hexdump_xxd.c index 37e58f2..6cf6d02 100644 --- a/util-linux/hexdump_xxd.c +++ b/util-linux/hexdump_xxd.c @@ -73,8 +73,9 @@ int xxd_main(int argc UNUSED_PARAM, char **argv) #define OPT_s (1 << 1) #define OPT_a (1 << 2) #define OPT_p (1 << 3) - opt_complementary = "?1"; /* 1 argument max */ - opt = getopt32(argv, "l:s:apg:+c:+", &opt_l, &opt_s, &bytes, &cols); + opt = getopt32(argv, "^" "l:s:apg:+c:+" "\0" "?1" /* 1 argument max */, + &opt_l, &opt_s, &bytes, &cols + ); argv += optind; dumper->dump_vflag = ALL; |