bc: convert to "G trick" - this returns bc to zero bss increase
[oweals/busybox.git] / coreutils / chgrp.c
index bc96083629d1717ab097ee62506f69ec3cf48706..27a0edf0deadb139707488c4e0b869fa62684dd9 100644 (file)
@@ -6,6 +6,15 @@
  *
  * Licensed under GPLv2 or later, see file LICENSE in this source tree.
  */
+//config:config CHGRP
+//config:      bool "chgrp (7.2 kb)"
+//config:      default y
+//config:      help
+//config:      chgrp is used to change the group ownership of files.
+
+//applet:IF_CHGRP(APPLET_NOEXEC(chgrp, chgrp, BB_DIR_BIN, BB_SUID_DROP, chgrp))
+
+//kbuild:lib-$(CONFIG_CHGRP) += chgrp.o chown.o
 
 /* BB_AUDIT SUSv3 defects - none? */
 /* BB_AUDIT GNU defects - unsupported long options. */
@@ -15,7 +24,6 @@
 //usage:       "[-RhLHP"IF_DESKTOP("cvf")"]... GROUP FILE..."
 //usage:#define chgrp_full_usage "\n\n"
 //usage:       "Change the group membership of each FILE to GROUP\n"
-//usage:     "\nOptions:"
 //usage:     "\n       -R      Recurse"
 //usage:     "\n       -h      Affect symlinks instead of symlink targets"
 //usage:     "\n       -L      Traverse all symlinks to directories"