From 98769639f3fc88a8dbe497180145536caf51df5c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 9 Jul 2015 10:41:17 -0400 Subject: formatting --- CmdLine/GitAnnex.hs | 8 ++++++-- CmdLine/GitAnnex/Options.hs | 12 ++++-------- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'CmdLine') diff --git a/CmdLine/GitAnnex.hs b/CmdLine/GitAnnex.hs index 8967bc471..80ee876ff 100644 --- a/CmdLine/GitAnnex.hs +++ b/CmdLine/GitAnnex.hs @@ -17,6 +17,8 @@ import Annex.Ssh import qualified Command.Add import qualified Command.Unannex +import qualified Command.Fsck +{- import qualified Command.Drop import qualified Command.Move import qualified Command.Copy @@ -46,7 +48,6 @@ import qualified Command.Init import qualified Command.Describe import qualified Command.InitRemote import qualified Command.EnableRemote -import qualified Command.Fsck import qualified Command.Expire import qualified Command.Repair import qualified Command.Unused @@ -116,10 +117,13 @@ import qualified Command.TestRemote #ifdef WITH_EKG import System.Remote.Monitoring #endif +-} cmds :: [Command] cmds = [ Command.Add.cmd + , Command.Fsck.cmd +{- , Command.Get.cmd , Command.Drop.cmd , Command.Move.cmd @@ -176,7 +180,6 @@ cmds = , Command.VPop.cmd , Command.VCycle.cmd , Command.Fix.cmd - , Command.Fsck.cmd , Command.Expire.cmd , Command.Repair.cmd , Command.Unused.cmd @@ -218,6 +221,7 @@ cmds = , Command.FuzzTest.cmd , Command.TestRemote.cmd #endif +-} ] header :: String diff --git a/CmdLine/GitAnnex/Options.hs b/CmdLine/GitAnnex/Options.hs index 51c222d7d..f95ab08ff 100644 --- a/CmdLine/GitAnnex/Options.hs +++ b/CmdLine/GitAnnex/Options.hs @@ -71,23 +71,20 @@ parseKeyOptions allowincomplete = KeyOptions parseAllKeysOption :: Parser Bool parseAllKeysOption = switch - ( long "all" - <> short 'A' + ( long "all" <> short 'A' <> help "operate on all versions of all files" ) parseUnusedKeysOption :: Parser Bool parseUnusedKeysOption = switch - ( long "unused" - <> short 'U' + ( long "unused" <> short 'U' <> help "operate on files found by last run of git-annex unused" ) parseSpecificKeyOption :: Parser (Maybe Key) parseSpecificKeyOption = optional $ option (str >>= parseKey) - ( long "key" + ( long "key" <> metavar paramKey <> help "operate on specified key" - <> metavar paramKey ) parseKey :: Monad m => String -> m Key @@ -193,8 +190,7 @@ autoOption = flagOption ['a'] "auto" "automatic mode" parseAutoOption :: Parser Bool parseAutoOption = switch - ( long "auto" - <> short 'a' + ( long "auto" <> short 'a' <> help "automatic mode" ) -- cgit v1.2.3