aboutsummaryrefslogtreecommitdiff
path: root/coreutils/unlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/unlink.c')
-rw-r--r--coreutils/unlink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/unlink.c b/coreutils/unlink.c
index e32a9743c..56309b1c7 100644
--- a/coreutils/unlink.c
+++ b/coreutils/unlink.c
@@ -25,8 +25,7 @@
int unlink_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int unlink_main(int argc UNUSED_PARAM, char **argv)
{
- opt_complementary = "=1"; /* must have exactly 1 param */
- getopt32(argv, "");
+ getopt32(argv, "^" "" "\0" "=1");
argv += optind;
xunlink(argv[0]);
return 0;