summaryrefslogtreecommitdiff
path: root/Command/List.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/List.hs')
-rw-r--r--Command/List.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Command/List.hs b/Command/List.hs
index b9b3a376c..ba27da702 100644
--- a/Command/List.hs
+++ b/Command/List.hs
@@ -23,10 +23,10 @@ import Annex.UUID
import qualified Annex
import Git.Types (RemoteName)
-cmd :: [Command]
-cmd = [noCommit $ withOptions (allrepos : annexedMatchingOptions) $
+cmd :: Command
+cmd = noCommit $ withOptions (allrepos : annexedMatchingOptions) $
command "list" paramPaths seek
- SectionQuery "show which remotes contain files"]
+ SectionQuery "show which remotes contain files"
allrepos :: Option
allrepos = flagOption [] "allrepos" "show all repositories, not only remotes"