unlock, lock: Support --json.
This commit is contained in:
parent
325c40afef
commit
75ec0227f8
7 changed files with 27 additions and 2 deletions
|
@ -26,7 +26,7 @@ editcmd :: Command
|
|||
editcmd = mkcmd "edit" "same as unlock"
|
||||
|
||||
mkcmd :: String -> String -> Command
|
||||
mkcmd n d = notDirect $ withGlobalOptions annexedMatchingOptions $
|
||||
mkcmd n d = notDirect $ withGlobalOptions (jsonOption : annexedMatchingOptions) $
|
||||
command n SectionCommon d paramPaths (withParams seek)
|
||||
|
||||
seek :: CmdParams -> CommandSeek
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue