mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
Simpify detection of no options.
This commit is contained in:
parent
2ccfef2004
commit
8269396491
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user