aboutsummaryrefslogtreecommitdiff
path: root/Command/Version.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Version.hs')
-rw-r--r--Command/Version.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Version.hs b/Command/Version.hs
index 1b96de9d2..3ceef3a60 100644
--- a/Command/Version.hs
+++ b/Command/Version.hs
@@ -17,10 +17,10 @@ import qualified Types.Remote as R
import qualified Remote
import qualified Backend
-cmd :: [Command]
-cmd = [withOptions [rawOption] $
+cmd :: Command
+cmd = withOptions [rawOption] $
noCommit $ noRepo startNoRepo $ dontCheck repoExists $
- command "version" paramNothing seek SectionQuery "show version info"]
+ command "version" paramNothing seek SectionQuery "show version info"
rawOption :: Option
rawOption = flagOption [] "raw" "output only program version"