diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-10-30 14:44:11 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-10-30 14:44:11 -0400 |
commit | dc1c08d474518234642ce78935d8835ff847cf35 (patch) | |
tree | 555c911001c3eab044af3926d3004a96a23a5eec /Command/Unlock.hs | |
parent | bf94d1eed92349527f8ad9d77347e411cbd8c3c4 (diff) |
unlock, lock: Support --json.
Diffstat (limited to 'Command/Unlock.hs')
-rw-r--r-- | Command/Unlock.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Unlock.hs b/Command/Unlock.hs index 274f4af3c..44e3f1bf3 100644 --- a/Command/Unlock.hs +++ b/Command/Unlock.hs @@ -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 |