summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-11-23 15:41:16 +0000
committerJim Meyering <jim@meyering.net>2001-11-23 15:41:16 +0000
commita5f1ced62a3a3288f72d4f494e61122e7d407498 (patch)
tree86aa6bbd3b956c22f07bc460d1929dedb4a5daa1 /src/chgrp.c
parent2e55f173989ab21bb87fd3c2c6bd12305469e179 (diff)
downloadcoreutils-a5f1ced62a3a3288f72d4f494e61122e7d407498.tar.xz
(usage): Split --help output into smaller pieces.
Use fputs, not printf.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index 24866fe10..a090b83a5 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -128,23 +128,29 @@ Usage: %s [OPTION]... GROUP FILE...\n\
or: %s [OPTION]... --reference=RFILE FILE...\n\
"),
program_name, program_name);
- printf (_("\
+ fputs (_("\
Change the group membership of each FILE to GROUP.\n\
\n\
-c, --changes like verbose but report only when a change is made\n\
--dereference affect the referent of each symbolic link, rather\n\
than the symbolic link itself\n\
+"), stdout);
+ fputs (_("\
-h, --no-dereference affect symbolic links instead of any referenced file\n\
(available only on systems that can change the\n\
ownership of a symlink)\n\
+"), stdout);
+ fputs (_("\
-f, --silent, --quiet suppress most error messages\n\
--reference=RFILE use RFILE's group rather than the specified\n\
GROUP value\n\
-R, --recursive operate on files and directories recursively\n\
+"), stdout);
+ fputs (_("\
-v, --verbose output a diagnostic for every file processed\n\
--help display this help and exit\n\
--version output version information and exit\n\
-"));
+"), stdout);
puts (_("\nReport bugs to <bug-fileutils@gnu.org>."));
}
exit (status);