summaryrefslogtreecommitdiff
path: root/Command/Lock.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 14:44:11 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-30 14:44:11 -0400
commitdc1c08d474518234642ce78935d8835ff847cf35 (patch)
tree555c911001c3eab044af3926d3004a96a23a5eec /Command/Lock.hs
parentbf94d1eed92349527f8ad9d77347e411cbd8c3c4 (diff)
unlock, lock: Support --json.
Diffstat (limited to 'Command/Lock.hs')
-rw-r--r--Command/Lock.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Lock.hs b/Command/Lock.hs
index 90d293799..e3e3e0fe7 100644
--- a/Command/Lock.hs
+++ b/Command/Lock.hs
@@ -23,7 +23,7 @@ import Logs.Location
import Git.FilePath
cmd :: Command
-cmd = notDirect $ withGlobalOptions annexedMatchingOptions $
+cmd = notDirect $ withGlobalOptions (jsonOption : annexedMatchingOptions) $
command "lock" SectionCommon
"undo unlock command"
paramPaths (withParams seek)