From ca59fb27c239358027d7e84566dd9be095c6bb62 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 8 Apr 2000 06:45:48 +0000 Subject: 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'. --- src/ln.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/ln.c') diff --git a/src/ln.c b/src/ln.c index 005c949c6..741fe277f 100644 --- a/src/ln.c +++ b/src/ln.c @@ -345,7 +345,8 @@ than one TARGET, the last argument must be a directory; create links\n\ in DIRECTORY to each TARGET. Create hard links by default, symbolic\n\ links with --symbolic. When creating hard links, each TARGET must exist.\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\ -d, -F, --directory hard link directories (super-user only)\n\ -f, --force remove existing destination files\n\ -n, --no-dereference treat destination that is a symlink to a\n\ @@ -515,7 +516,7 @@ main (int argc, char **argv) } backup_type = (make_backups - ? xget_version (_("--version-control"), version_control_string) + ? xget_version (_("backup type"), version_control_string) : none); if (target_directory_specified || n_files > 2) -- cgit v1.2.3-54-g00ecf