summaryrefslogtreecommitdiff
path: root/coreutils/link.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/link.c')
-rw-r--r--coreutils/link.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/coreutils/link.c b/coreutils/link.c
index 6e20daf..81808b7 100644
--- a/coreutils/link.c
+++ b/coreutils/link.c
@@ -27,8 +27,7 @@
int link_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int link_main(int argc UNUSED_PARAM, char **argv)
{
- opt_complementary = "=2"; /* exactly 2 params */
- getopt32(argv, "");
+ getopt32(argv, "^" "" "\0" "=2");
argv += optind;
if (link(argv[0], argv[1]) != 0) {
/* shared message */