aboutsummaryrefslogtreecommitdiff
path: root/src/opts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/opts.c')
-rw-r--r--src/opts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opts.c b/src/opts.c
index 58a13c2..416163c 100644
--- a/src/opts.c
+++ b/src/opts.c
@@ -1,6 +1,6 @@
#include "unalf.h"
-#define OPTIONS "aeklLopqtvVd:x:"
+#define OPTIONS "aefklLopqtvVd:x:"
/* uncomment to test exclude/include glob lists */
// #define DEBUG_GLOBS
@@ -37,6 +37,7 @@ void parse_opts(int argc, char * const *argv) {
case 'a': opts.txtconv++; break;
case 'e': opts.listonly = opts.testonly = 0; break;
case 'k': opts.keepdot++; break;
+ case 'f': opts.fixjunk++; opts.testonly = 1; opts.listonly = 0; opts.quiet = 1; break;
case 'l': opts.listonly++; opts.testonly = 0; break;
case 'L': opts.lowercase++; break;
case 'o': opts.overwrite++; break;