diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-02-06 17:08:14 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-02-06 17:16:41 -0400 |
commit | 0cb5a870007c8299f8788962bd7dfc0848794dc0 (patch) | |
tree | 43d9d70f436a42f055617df6abdf85972045476b /Command/Info.hs | |
parent | 7d9431ef1b0cff4eece3cd8fc03e429e391d724a (diff) |
The file matching options are now only accepted by commands that can actually use them.
Diffstat (limited to 'Command/Info.hs')
-rw-r--r-- | Command/Info.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Info.hs b/Command/Info.hs index 6fb411ec3..e04a72a3c 100644 --- a/Command/Info.hs +++ b/Command/Info.hs @@ -77,7 +77,7 @@ emptyStatInfo = StatInfo Nothing Nothing M.empty Nothing type StatState = StateT StatInfo Annex cmd :: [Command] -cmd = [noCommit $ dontCheck repoExists $ withOptions [jsonOption] $ +cmd = [noCommit $ dontCheck repoExists $ withOptions (jsonOption : annexedMatchingOptions) $ command "info" (paramOptional $ paramRepeating paramItem) seek SectionQuery "shows information about the specified item or the repository as a whole"] |