From 0cb5a870007c8299f8788962bd7dfc0848794dc0 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 6 Feb 2015 17:08:14 -0400 Subject: The file matching options are now only accepted by commands that can actually use them. --- Command/Whereis.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Whereis.hs') diff --git a/Command/Whereis.hs b/Command/Whereis.hs index d612ce4f0..5f31998c5 100644 --- a/Command/Whereis.hs +++ b/Command/Whereis.hs @@ -16,7 +16,7 @@ import Logs.Trust import Logs.Web cmd :: [Command] -cmd = [noCommit $ withOptions (jsonOption : keyOptions) $ +cmd = [noCommit $ withOptions (jsonOption : annexedMatchingOptions ++ keyOptions) $ command "whereis" paramPaths seek SectionQuery "lists repositories that have file content"] -- cgit v1.2.3