whereis supports --json, add option
This commit is contained in:
parent
456c9eedb0
commit
d793f20886
1 changed files with 4 additions and 2 deletions
|
@ -13,10 +13,12 @@ import Common.Annex
|
|||
import Command
|
||||
import Remote
|
||||
import Logs.Trust
|
||||
import GitAnnex.Options
|
||||
|
||||
def :: [Command]
|
||||
def = [noCommit $ command "whereis" paramPaths seek
|
||||
SectionQuery "lists repositories that have file content"]
|
||||
def = [noCommit $ withOptions [jsonOption] $
|
||||
command "whereis" paramPaths seek SectionQuery
|
||||
"lists repositories that have file content"]
|
||||
|
||||
seek :: [CommandSeek]
|
||||
seek = [withValue (remoteMap id) $ \m ->
|
||||
|
|
Loading…
Add table
Reference in a new issue