{
int opt;
int status = EXIT_SUCCESS;
- int stopIt=FALSE;
struct stat statbuf;
case 'f':
forceFlag = TRUE;
#ifdef BB_FEATURE_RM_INTERACTIVE
+
interactiveFlag = FALSE;
#endif
break;
- case 'i':
#ifdef BB_FEATURE_RM_INTERACTIVE
+ case 'i':
interactiveFlag = TRUE;
-#endif
- break;
- case '-':
- stopIt = TRUE;
+ forceFlag = FALSE;
break;
+#endif
default:
show_usage();
}
}
- if ((argc-optind) < 1 && forceFlag == FALSE) {
+ if (argc == optind && forceFlag == FALSE) {
show_usage();
}