From 156a61c86d6a598eada0d63761a575c691f5165e Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Jan 1996 12:37:12 +0000 Subject: [PATCH] (usage): Copy backup/suffix stuff from ln.c. (main): Handle 'S' in getopt switch. --- src/install.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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); } -- 2.47.3