improve synopsis
This commit is contained in:
parent
7c7486a45f
commit
53fd1564b1
4 changed files with 4 additions and 4 deletions
|
@ -16,7 +16,7 @@ usageMessage s = "Usage: " ++ s
|
|||
usage :: String -> [Command] -> String
|
||||
usage header cmds = unlines $ usageMessage header : commandList cmds
|
||||
|
||||
{- Commands listed by section, with breif usage and description. -}
|
||||
{- Commands listed by section, with brief usage and description. -}
|
||||
commandList :: [Command] -> [String]
|
||||
commandList cmds = concatMap go [minBound..]
|
||||
where
|
||||
|
|
|
@ -46,7 +46,7 @@ import Control.Concurrent
|
|||
cmd :: Command
|
||||
cmd = withGlobalOptions [jobsOption, jsonOptions, jsonProgressOption] $
|
||||
command "export" SectionCommon
|
||||
"export content to a remote"
|
||||
"export a tree of files to a special remote"
|
||||
paramTreeish (seek <$$> optParser)
|
||||
|
||||
data ExportOptions = ExportOptions
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# NAME
|
||||
|
||||
git-annex export - export content to a remote
|
||||
git-annex export - export a tree of files to a special remote
|
||||
|
||||
# SYNOPSIS
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# NAME
|
||||
|
||||
git-annex import - add a tree of files to the repository
|
||||
git-annex import - import files from a special remote
|
||||
|
||||
# SYNOPSIS
|
||||
|
||||
|
|
Loading…
Reference in a new issue