aboutsummaryrefslogtreecommitdiff
path: root/Command/Unlock.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2015-02-06 17:08:14 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2015-02-06 17:16:41 -0400
commit0cb5a870007c8299f8788962bd7dfc0848794dc0 (patch)
tree43d9d70f436a42f055617df6abdf85972045476b /Command/Unlock.hs
parent7d9431ef1b0cff4eece3cd8fc03e429e391d724a (diff)
The file matching options are now only accepted by commands that can actually use them.
Diffstat (limited to 'Command/Unlock.hs')
-rw-r--r--Command/Unlock.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Unlock.hs b/Command/Unlock.hs
index 31bc1f2e2..208381930 100644
--- a/Command/Unlock.hs
+++ b/Command/Unlock.hs
@@ -19,7 +19,8 @@ cmd =
, c "edit" "same as unlock"
]
where
- c n = notDirect . command n paramPaths seek SectionCommon
+ c n = notDirect . withOptions annexedMatchingOptions
+ . command n paramPaths seek SectionCommon
seek :: CommandSeek
seek = withFilesInGit $ whenAnnexed start