summaryrefslogtreecommitdiff
path: root/src/chgrp.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-05 22:21:50 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-05 22:21:50 +0000
commite8a0c946f53a3e01fd9113252a25d27b39648aab (patch)
treeabbc3fbd83a2b3d4fc0446daa027385843e86c28 /src/chgrp.c
parent10b4a29f6410ed386a38a4d65512a0fd738446f0 (diff)
downloadcoreutils-e8a0c946f53a3e01fd9113252a25d27b39648aab.tar.xz
(usage): Add examples.
Diffstat (limited to 'src/chgrp.c')
-rw-r--r--src/chgrp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/chgrp.c b/src/chgrp.c
index fee3aa58c..9f998547a 100644
--- a/src/chgrp.c
+++ b/src/chgrp.c
@@ -153,6 +153,13 @@ one takes effect.\n\
"), stdout);
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
+ printf (_("\
+\n\
+Examples:\n\
+ %s staff /u Change the group of /u to \"staff\".\n\
+ %s -hR staff /u Change the group of /u and subfiles to \"staff\".\n\
+"),
+ program_name, program_name);
printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
}
exit (status);