aboutsummaryrefslogtreecommitdiff
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 6e20dafe3..81808b778 100644
--- a/coreutils/link.c
+++ b/coreutils/link.c
@@ -27,8 +27,7 @@
27int link_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; 27int link_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
28int link_main(int argc UNUSED_PARAM, char **argv) 28int link_main(int argc UNUSED_PARAM, char **argv)
29{ 29{
30 opt_complementary = "=2"; /* exactly 2 params */ 30 getopt32(argv, "^" "" "\0" "=2");
31 getopt32(argv, "");
32 argv += optind; 31 argv += optind;
33 if (link(argv[0], argv[1]) != 0) { 32 if (link(argv[0], argv[1]) != 0) {
34 /* shared message */ 33 /* shared message */