config: more tweaks
[oweals/busybox.git] / coreutils / unlink.c
index e32a9743ceb3131cde358214c1229a9e568f184f..24be81da6b47f6531072d36b9dfc5718ab7798f0 100644 (file)
@@ -1,12 +1,13 @@
 /* vi: set sw=4 ts=4: */
-/* unlink for busybox
+/*
+ * unlink for busybox
  *
  * Copyright (C) 2014 Isaac Dunham <ibid.ag@gmail.com>
  *
  * Licensed under GPLv2, see LICENSE in this source tree
  */
 //config:config UNLINK
-//config:      bool "unlink (3.5 kb)"
+//config:      bool "unlink (3.2 kb)"
 //config:      default y
 //config:      help
 //config:      unlink deletes a file by calling unlink()
@@ -25,8 +26,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;