[hackers] [sbase] rm: Remove -i from usage and manpage || sin

From: <git_AT_suckless.org>
Date: Thu, 19 Feb 2015 15:56:42 +0100 (CET)

commit f4f67b17bea9f0a0f814963db3949f00a866b5bd
Author: sin <sin_AT_2f30.org>
Date: Thu Feb 19 14:54:12 2015 +0000

    rm: Remove -i from usage and manpage
    
    We do not support it so do not lie to the user.

diff --git a/rm.1 b/rm.1
index e2da925..e5d0d3c 100644
--- a/rm.1
+++ b/rm.1
_AT_@ -1,4 +1,4 @@
-.Dd January 30, 2015
+.Dd February 19, 2015
 .Dt RM 1
 .Os sbase
 .Sh NAME
_AT_@ -6,7 +6,7 @@
 .Nd remove directory entries
 .Sh SYNOPSIS
 .Nm
-.Op Fl f | Fl i
+.Op Fl f
 .Op Fl Rr
 .Ar file ...
 .Sh DESCRIPTION
_AT_@ -22,8 +22,8 @@ or
 is specified.
 .Sh OPTIONS
 .Bl -tag -width Ds
-.It Fl f | Fl i
-Do not prompt | Prompt before removing
+.It Fl f
+Do not prompt before removing.
 .Ar file .
 In the former case, do not report when
 .Ar file
diff --git a/rm.c b/rm.c
index b18ec68..aab3aad 100644
--- a/rm.c
+++ b/rm.c
_AT_@ -5,7 +5,7 @@
 static void
 usage(void)
 {
- eprintf("usage: %s [-f | -i] [-Rr] file ...\n", argv0);
+ eprintf("usage: %s [-f] [-Rr] file ...\n", argv0);
 }
 
 int
_AT_@ -15,9 +15,6 @@ main(int argc, char *argv[])
         case 'f':
                 rm_fflag = 1;
                 break;
- case 'i':
- rm_fflag = 0;
- break;
         case 'R':
         case 'r':
                 rm_rflag = 1;
Received on Thu Feb 19 2015 - 15:56:42 CET

This archive was generated by hypermail 2.3.0 : Thu Feb 19 2015 - 16:00:14 CET