summaryrefslogtreecommitdiff
path: root/Command/Find.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Find.hs')
-rw-r--r--Command/Find.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/Find.hs b/Command/Find.hs
index 236824643..d0bb165c3 100644
--- a/Command/Find.hs
+++ b/Command/Find.hs
@@ -19,9 +19,9 @@ import qualified Utility.Format
import Utility.DataUnits
import Types.Key
-cmd :: [Command]
-cmd = [withOptions annexedMatchingOptions $ mkCommand $
- command "find" paramPaths seek SectionQuery "lists available files"]
+cmd :: Command
+cmd = withOptions annexedMatchingOptions $ mkCommand $
+ command "find" paramPaths seek SectionQuery "lists available files"
mkCommand :: Command -> Command
mkCommand = noCommit . noMessages . withOptions [formatOption, print0Option, jsonOption]