diff options
author | Joey Hess <joey@kitenet.net> | 2014-01-18 11:54:43 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-01-18 11:54:43 -0400 |
commit | 8b7b01c1b38635b309f4e90c8369c3258766f181 (patch) | |
tree | 7fc7a46aa3a3d315063fdb6f6a49282b175ac6fe /Command/Find.hs | |
parent | a0c7d37d1e0ac10b7304e48ff78d0cfb0308d9e5 (diff) |
Remove --json option from commands not supporting it.
Diffstat (limited to 'Command/Find.hs')
-rw-r--r-- | Command/Find.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Command/Find.hs b/Command/Find.hs index 0591e657e..ddcc4b8c7 100644 --- a/Command/Find.hs +++ b/Command/Find.hs @@ -18,9 +18,10 @@ import qualified Utility.Format import Utility.DataUnits import Types.Key import qualified Option +import GitAnnex.Options def :: [Command] -def = [noCommit $ noMessages $ withOptions [formatOption, print0Option] $ +def = [noCommit $ noMessages $ withOptions [formatOption, print0Option, jsonOption] $ command "find" paramPaths seek SectionQuery "lists available files"] formatOption :: Option |