diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-03-19 22:40:43 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-03-19 22:40:43 +0300 |
commit | 8269396491913ab551b558756f6581a4d12bd00f (patch) | |
tree | 40e85453e966d85dadd037dc78b0d1cae0f989b7 /rm.c | |
parent | 2ccfef2004675cc6cb18b9cdad1ebdaf892a10c2 (diff) |
Simpify detection of no options.
Diffstat (limited to 'rm.c')
-rw-r--r-- | rm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ extern int rm_main(int argc, char **argv) } } - if ((argc-optind) < 1 && forceFlag == FALSE) { + if (argc == optind && forceFlag == FALSE) { show_usage(); } #ifdef BB_FEATURE_RM_INTERACTIVE |