diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2017-06-27 21:43:47 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2017-06-27 21:43:47 +0000 |
commit | 7169c492918dcafdc3ea004051d9aa8b4c39932e (patch) | |
tree | 03d472860e200de030c49ab648788b3416b0058f /bin/cp/utils.c | |
parent | 7ada802e7e89cfc3680123bc7f80f7413eccb4f2 (diff) |
add a -v verbose flag to cp, mv, and rm. useful for monitoring progress,
and present on several other systems. some ok, some less ok.
from Job Snijders
Diffstat (limited to 'bin/cp/utils.c')
-rw-r--r-- | bin/cp/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/cp/utils.c b/bin/cp/utils.c index 6a3c5178647..c9d71986842 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -1,4 +1,4 @@ -/* $OpenBSD: utils.c,v 1.39 2015/12/26 18:11:43 guenther Exp $ */ +/* $OpenBSD: utils.c,v 1.40 2017/06/27 21:43:46 tedu Exp $ */ /* $NetBSD: utils.c,v 1.6 1997/02/26 14:40:51 cgd Exp $ */ /*- @@ -307,9 +307,9 @@ void usage(void) { (void)fprintf(stderr, - "usage: %s [-fip] [-R [-H | -L | -P]] source target\n", __progname); + "usage: %s [-fipv] [-R [-H | -L | -P]] source target\n", __progname); (void)fprintf(stderr, - " %s [-fip] [-R [-H | -L | -P]] source ... directory\n", + " %s [-fipv] [-R [-H | -L | -P]] source ... directory\n", __progname); exit(1); } |