diff options
-rw-r--r-- | Command/Whereis.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Command/Whereis.hs b/Command/Whereis.hs index 7086bf645..fcbbbf0d5 100644 --- a/Command/Whereis.hs +++ b/Command/Whereis.hs @@ -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 -> |