diff --git a/README b/README index 363536b..4a2d7a2 100644 --- a/README +++ b/README @@ -56,7 +56,7 @@ The following tools are implemented ('*' == finished, '#' == UTF-8 support, =* pwd yes none = readlink non-posix none =* renice yes none -=* rm yes none (-i) +=*| rm yes none (-i) =* rmdir yes none # sed seq non-posix none diff --git a/rm.1 b/rm.1 index e5d0d3c..eb6a83e 100644 --- a/rm.1 +++ b/rm.1 @@ -1,4 +1,4 @@ -.Dd February 19, 2015 +.Dd February 28, 2015 .Dt RM 1 .Os sbase .Sh NAME @@ -23,9 +23,9 @@ is specified. .Sh OPTIONS .Bl -tag -width Ds .It Fl f -Do not prompt before removing. +Do not prompt before removing .Ar file . -In the former case, do not report when +Do not report when .Ar file doesn't exist or couldn't be removed. .It Fl Rr diff --git a/rm.c b/rm.c index aab3aad..73f3c31 100644 --- a/rm.c +++ b/rm.c @@ -23,7 +23,7 @@ main(int argc, char *argv[]) usage(); } ARGEND; - if (argc < 1) { + if (!argc) { if (!rm_fflag) usage(); else