aboutsummaryrefslogtreecommitdiffstats
path: root/app/Main.hs
diff options
context:
space:
mode:
authorLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-04 11:37:21 +0200
committerLibravatar Alexander Foremny <aforemny@posteo.de>2023-10-04 11:37:21 +0200
commitd12ee3bfa78699eab8f03d9b0d06ed2a9547ab37 (patch)
tree8a016c62cc0d3b4c18ccc00fa057eab02f4251e0 /app/Main.hs
parentf72c9d076057729d98f12235c00482710d166cf8 (diff)
enable bash completion
Diffstat (limited to 'app/Main.hs')
-rw-r--r--app/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Main.hs b/app/Main.hs
index 87951b6..2e36d4c 100644
--- a/app/Main.hs
+++ b/app/Main.hs
@@ -98,7 +98,7 @@ showCommandParser :: O.Parser Command
showCommandParser = Show <$> filesArg
filesArg :: O.Parser [String]
-filesArg = O.many (O.strArgument (O.metavar "FILE"))
+filesArg = O.many (O.strArgument (O.metavar "FILE" <> O.action "file"))
main :: IO ()
main = do