summaryrefslogtreecommitdiff
path: root/Command.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-04 13:37:06 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-04 13:37:06 -0400
commitcc4794ce85f8e8e511a4aadb62db53bfff35ca8d (patch)
treef02ab1d25c7e902b3eb040ea908b3c43d85677d6 /Command.hs
parentdf4b461df1bf70016ffa02d08e822067f8544a63 (diff)
support subcommands that take no params
Diffstat (limited to 'Command.hs')
-rw-r--r--Command.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Command.hs b/Command.hs
index 47c73370f..d557651aa 100644
--- a/Command.hs
+++ b/Command.hs
@@ -36,6 +36,7 @@ type SubCmdSeekStrings = SubCmdStartString -> SubCmdSeek
type SubCmdStartString = String -> SubCmdStart
type SubCmdSeekBackendFiles = SubCmdStartBackendFile -> SubCmdSeek
type SubCmdStartBackendFile = (FilePath, Maybe Backend) -> SubCmdStart
+type SubCmdSeekNothing = SubCmdStart -> SubCmdSeek
data SubCommand = SubCommand {
subcmdname :: String,