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 :: String -> [Command] -> String
|
||||||
usage header cmds = unlines $ usageMessage header : commandList cmds
|
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 :: [Command] -> [String]
|
||||||
commandList cmds = concatMap go [minBound..]
|
commandList cmds = concatMap go [minBound..]
|
||||||
where
|
where
|
||||||
|
|
|
@ -46,7 +46,7 @@ import Control.Concurrent
|
||||||
cmd :: Command
|
cmd :: Command
|
||||||
cmd = withGlobalOptions [jobsOption, jsonOptions, jsonProgressOption] $
|
cmd = withGlobalOptions [jobsOption, jsonOptions, jsonProgressOption] $
|
||||||
command "export" SectionCommon
|
command "export" SectionCommon
|
||||||
"export content to a remote"
|
"export a tree of files to a special remote"
|
||||||
paramTreeish (seek <$$> optParser)
|
paramTreeish (seek <$$> optParser)
|
||||||
|
|
||||||
data ExportOptions = ExportOptions
|
data ExportOptions = ExportOptions
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
git-annex export - export content to a remote
|
git-annex export - export a tree of files to a special remote
|
||||||
|
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
git-annex import - add a tree of files to the repository
|
git-annex import - import files from a special remote
|
||||||
|
|
||||||
# SYNOPSIS
|
# SYNOPSIS
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue