summaryrefslogtreecommitdiff
path: root/src/chown.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/chown.c
parent10b4a29f6410ed386a38a4d65512a0fd738446f0 (diff)
downloadcoreutils-e8a0c946f53a3e01fd9113252a25d27b39648aab.tar.xz
(usage): Add examples.
Diffstat (limited to 'src/chown.c')
-rw-r--r--src/chown.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/chown.c b/src/chown.c
index ba0a08b56..58054427c 100644
--- a/src/chown.c
+++ b/src/chown.c
@@ -148,6 +148,14 @@ Owner is unchanged if missing. Group is unchanged if missing, but changed\n\
to login group if implied by a `:' following a symbolic OWNER.\n\
OWNER and GROUP may be numeric as well as symbolic.\n\
"), stdout);
+ printf (_("\
+\n\
+Examples:\n\
+ %s root /u Change the owner of /u to \"root\".\n\
+ %s root:staff /u Likewise, but also change its group to \"staff\".\n\
+ %s -hR root /u Change the owner of /u and subfiles to \"root\".\n\
+"),
+ program_name, program_name, program_name);
printf (_("\nReport bugs to <%s>.\n"), PACKAGE_BUGREPORT);
}
exit (status);