diff options
Diffstat (limited to 'coreutils/chmod.c')
-rw-r--r-- | coreutils/chmod.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/chmod.c b/coreutils/chmod.c index 2174334d1..88989bf67 100644 --- a/coreutils/chmod.c +++ b/coreutils/chmod.c | |||
@@ -123,8 +123,7 @@ int chmod_main(int argc UNUSED_PARAM, char **argv) | |||
123 | } | 123 | } |
124 | 124 | ||
125 | /* Parse options */ | 125 | /* Parse options */ |
126 | opt_complementary = "-2"; | 126 | getopt32(argv, "^" OPT_STR "\0" "-2"); |
127 | getopt32(argv, ("-"OPT_STR) + 1); /* Reuse string */ | ||
128 | argv += optind; | 127 | argv += optind; |
129 | 128 | ||
130 | /* Restore option-like mode if needed */ | 129 | /* Restore option-like mode if needed */ |