improve usage messages
This commit is contained in:
parent
54e7cdb55c
commit
984bc8570d
2 changed files with 5 additions and 3 deletions
|
@ -42,7 +42,7 @@ showCommonOptions = putStrLn $ usageInfo "Common options:" options
|
|||
|
||||
showGeneralHelp :: IO ()
|
||||
showGeneralHelp = putStrLn $ unlines
|
||||
[ "The most commonly used git-annex commands are:"
|
||||
[ "The most frequently used git-annex commands are:"
|
||||
, unlines $ map cmdline $ concat
|
||||
[ Command.Init.def
|
||||
, Command.Add.def
|
||||
|
@ -54,7 +54,9 @@ showGeneralHelp = putStrLn $ unlines
|
|||
, Command.Whereis.def
|
||||
, Command.Fsck.def
|
||||
]
|
||||
, "Run git-annex without any options for a complete command list."
|
||||
, "Run 'git-annex' for a complete command list."
|
||||
, "Run 'git-annex command --help' for help on a specific command."
|
||||
, "Run `git annex help options' for a list of common options."
|
||||
]
|
||||
where
|
||||
cmdline c = "\t" ++ cmdname c ++ "\t" ++ cmddesc c
|
||||
|
|
|
@ -57,7 +57,7 @@ data StatInfo = StatInfo
|
|||
type StatState = StateT StatInfo Annex
|
||||
|
||||
def :: [Command]
|
||||
def = [command "status" (paramOptional paramPaths) seek
|
||||
def = [command "status" paramPaths seek
|
||||
SectionQuery "shows status information about the annex"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
|
|
Loading…
Reference in a new issue