improve synopsis

This commit is contained in:
Joey Hess 2020-12-17 12:51:49 -04:00
parent 7c7486a45f
commit 53fd1564b1
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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