a few command usage fixes
This commit is contained in:
parent
0850e8eaf9
commit
c955fb2736
4 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ import Git.Types
|
|||
|
||||
cmd :: [Command]
|
||||
cmd = [dontCheck repoExists $
|
||||
command "diffdriver" ("[-- cmd --opts]") seek
|
||||
command "diffdriver" ("[-- cmd --]") seek
|
||||
SectionPlumbing "external git diff driver shim"]
|
||||
|
||||
seek :: CommandSeek
|
||||
|
|
|
@ -19,7 +19,7 @@ import Data.Time.Clock.POSIX
|
|||
cmd :: [Command]
|
||||
cmd = [withOptions metaDataOptions $
|
||||
command "metadata" paramPaths seek
|
||||
SectionMetaData "sets metadata of a file"]
|
||||
SectionMetaData "sets or gets metadata of a file"]
|
||||
|
||||
metaDataOptions :: [Option]
|
||||
metaDataOptions =
|
||||
|
|
|
@ -16,7 +16,7 @@ import qualified Remote
|
|||
|
||||
cmd :: [Command]
|
||||
cmd = [dontCheck repoExists $
|
||||
command "reinit" (paramUUID ++ " or " ++ paramDesc) seek SectionUtility ""]
|
||||
command "reinit" (paramUUID ++ "|" ++ paramDesc) seek SectionUtility "initialize repository, reusing old UUID"]
|
||||
|
||||
seek :: CommandSeek
|
||||
seek = withWords start
|
||||
|
|
|
@ -16,7 +16,7 @@ import Command.View (checkoutViewBranch)
|
|||
|
||||
cmd :: [Command]
|
||||
cmd = [notBareRepo $ notDirect $
|
||||
command "vcycle" paramNothing seek SectionUtility
|
||||
command "vcycle" paramNothing seek SectionMetaData
|
||||
"switch view to next layout"]
|
||||
|
||||
seek :: CommandSeek
|
||||
|
|
Loading…
Add table
Reference in a new issue