summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-08 06:46:20 +0000
committerJim Meyering <jim@meyering.net>2000-04-08 06:46:20 +0000
commit650ea2e0b4d1c59cabeced6bf441ea940e4dfcb4 (patch)
tree62a69079c3c4a9d204189a0a9d6f8b61535f8f7a /src
parentca59fb27c239358027d7e84566dd9be095c6bb62 (diff)
downloadcoreutils-650ea2e0b4d1c59cabeced6bf441ea940e4dfcb4.tar.xz
Document that while the --backup option takes an
optional argument, the -b option accepts none. (main): Use `backup type' in call to xget_version, not the now-deprecated `--version-control'.
Diffstat (limited to 'src')
-rw-r--r--src/install.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c
index 18a6fd71c..099fc5444 100644
--- a/src/install.c
+++ b/src/install.c
@@ -313,7 +313,7 @@ main (int argc, char **argv)
_("the strip option may not be used when installing a directory"));
if (make_backups)
- x.backup_type = xget_version ("--version-control", version_control_string);
+ x.backup_type = xget_version ("backup type", version_control_string);
n_files = argc - optind;
file = argv + optind;
@@ -641,7 +641,8 @@ In the first two formats, copy SOURCE to DEST or multiple SOURCE(s) to\n\
the existing DIRECTORY, while setting permission modes and owner/group.\n\
In the third format, create all components of the given DIRECTORY(ies).\n\
\n\
- -b, --backup[=CONTROL] make a backup of each existing destination file\n\
+ --backup[=CONTROL] make a backup of each existing destination file\n\
+ -b like --backup but does not accept an argument\n\
-c (ignored)\n\
-d, --directory treat all arguments as directory names; create all\n\
components of the specified directories\n\