diff options
author | ru <ru@FreeBSD.org> | 2005-02-09 17:37:39 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2005-02-09 17:37:39 +0000 |
commit | 978b8f7f1d9acca15190b3e1c3c13206ae9ff3be (patch) | |
tree | f2459cf124e940897222cf3c2d1d840dc7a981a5 /bin/cp/utils.c | |
parent | ecbdad392c9834599fff9cd2683900672354f4c0 (diff) | |
download | FreeBSD-src-978b8f7f1d9acca15190b3e1c3c13206ae9ff3be.zip FreeBSD-src-978b8f7f1d9acca15190b3e1c3c13206ae9ff3be.tar.gz |
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'bin/cp/utils.c')
-rw-r--r-- | bin/cp/utils.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c index 7ad8788..3505225 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -331,7 +331,8 @@ usage(void) { (void)fprintf(stderr, "%s\n%s\n", -"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target", -" cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory"); +"usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file target_file", +" cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] source_file ... " +"target_directory"); exit(EX_USAGE); } |