]> gitweb.michael.orlitzky.com - hath.git/commitdiff
Changed the long name of "dupe" from "duplicated" to "duped."
authorMichael Orlitzky <michael@orlitzky.com>
Sat, 22 May 2010 17:35:37 +0000 (13:35 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Sat, 22 May 2010 17:35:37 +0000 (13:35 -0400)
src/CommandLine.hs

index 7fc614a4205bb614ef0285496c3c121271b0a3ed..68957b1c4d2e4cf9fb19d10762fdfc870348417c 100644 (file)
@@ -72,7 +72,7 @@ set_input arg opts = do
 
 -- The usage header
 usage :: String
-usage = "Usage: hath [regexed|reduced|duplicated|diffed] [-h] [-i FILE]"
+usage = "Usage: hath [regexed|reduced|duped|diffed] [-h] [-i FILE]"
 
 
 -- The usage header, and all available flags (as generated by GetOpt)
@@ -107,14 +107,14 @@ parse_mode = do
     else do
       -- Some non-option was given, but were any of them modes?
       case (lowercase (non_options !! 0)) of
-        "regex"      -> return Regex
-        "regexed"    -> return Regex
-        "reduce"     -> return Reduce
-        "reduced"    -> return Reduce
-        "dupe"       -> return Dupe
-        "duplicated" -> return Dupe
-        "diff"       -> return Diff
-        "diffed"     -> return Diff
+        "regex"   -> return Regex
+        "regexed" -> return Regex
+        "reduce"  -> return Reduce
+        "reduced" -> return Reduce
+        "dupe"    -> return Dupe
+        "duped"   -> return Dupe
+        "diff"    -> return Diff
+        "diffed"  -> return Diff
         _         -> return Regex