]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Copy backup/suffix stuff from ln.c.
authorJim Meyering <jim@meyering.net>
Sat, 20 Jan 1996 12:37:12 +0000 (12:37 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 20 Jan 1996 12:37:12 +0000 (12:37 +0000)
(main): Handle 'S' in getopt switch.

src/install.c

index 08cc9265f00c0cd49b00657b6f8b57a8f7eb9b36..220c5e649bf9dcaf214a1aad516bc017e16915ff 100644 (file)
@@ -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);
 }