mirror of
https://github.com/sheumann/hush.git
synced 2024-08-26 12:29:04 +00:00
Doesn't need a "-" option -- getopt does that for us.
This commit is contained in:
parent
16f7015722
commit
00b0496e69
@ -85,7 +85,6 @@ extern int rm_main(int argc, char **argv)
|
||||
{
|
||||
int opt;
|
||||
int status = EXIT_SUCCESS;
|
||||
int stopIt=FALSE;
|
||||
struct stat statbuf;
|
||||
|
||||
|
||||
@ -108,9 +107,6 @@ extern int rm_main(int argc, char **argv)
|
||||
interactiveFlag = TRUE;
|
||||
#endif
|
||||
break;
|
||||
case '-':
|
||||
stopIt = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
4
rm.c
4
rm.c
@ -85,7 +85,6 @@ extern int rm_main(int argc, char **argv)
|
||||
{
|
||||
int opt;
|
||||
int status = EXIT_SUCCESS;
|
||||
int stopIt=FALSE;
|
||||
struct stat statbuf;
|
||||
|
||||
|
||||
@ -108,9 +107,6 @@ extern int rm_main(int argc, char **argv)
|
||||
interactiveFlag = TRUE;
|
||||
#endif
|
||||
break;
|
||||
case '-':
|
||||
stopIt = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user