set oneshot mode on a per-command basis
Avoids ugly (and test suite failing) hack in Command.Version
This commit is contained in:
parent
33e03d58ae
commit
90a8b38ac0
11 changed files with 19 additions and 16 deletions
|
@ -12,7 +12,7 @@ import Command
|
|||
import Annex.Content
|
||||
|
||||
def :: [Command]
|
||||
def = [command "inannex" (paramRepeating paramKey) seek
|
||||
def = [oneShot $ command "inannex" (paramRepeating paramKey) seek
|
||||
"checks if keys are present in the annex"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue