From: Jim Meyering Date: Sat, 20 Jan 1996 12:37:12 +0000 (+0000) Subject: (usage): Copy backup/suffix stuff from ln.c. X-Git-Tag: TEXTUTILS-1_14~29 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=156a61c86d6a598eada0d63761a575c691f5165e;p=thirdparty%2Fcoreutils.git (usage): Copy backup/suffix stuff from ln.c. (main): Handle 'S' in getopt switch. --- diff --git a/src/install.c b/src/install.c index 08cc9265f0..220c5e649b 100644 --- a/src/install.c +++ b/src/install.c @@ -205,6 +205,9 @@ main (int argc, char **argv) case 'o': owner_name = optarg; break; + case 'S': + simple_backup_suffix = optarg; + break; case 'V': version = optarg; break; @@ -592,7 +595,14 @@ format, make all components of the given DIRECTORY(ies).\n\ -S, --suffix=SUFFIX override the usual backup suffix\n\ -V, --version-control=WORD override the usual version control\n\ --help display this help and exit\n\ - --version output version information and exit\n")); + --version output version information and exit\n\ +\n\ +The backup suffix is ~, unless set with SIMPLE_BACKUP_SUFFIX. The\n\ +version control may be set with VERSION_CONTROL, values are:\n\ +\n\ + t, numbered make numbered backups\n\ + nil, existing numbered if numbered backups exist, simple otherwise\n\ + never, simple always make simple backups\n")); } exit (status); }