summaryrefslogtreecommitdiff
path: root/CmdLine.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-14 12:35:05 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-14 12:35:05 -0400
commita5c4dd974396d1dc9c3e55381215a904fa997cd2 (patch)
tree8f7f98fab145050b7f99ffe3358a7b616f171dd9 /CmdLine.hs
parent54d0f73e67135ec675953d608d0780dfbb130f5d (diff)
find: New subcommand.
Diffstat (limited to 'CmdLine.hs')
-rw-r--r--CmdLine.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/CmdLine.hs b/CmdLine.hs
index a683be5c5..caf727946 100644
--- a/CmdLine.hs
+++ b/CmdLine.hs
@@ -28,6 +28,7 @@ import qualified Command.Fsck
import qualified Command.Unlock
import qualified Command.Lock
import qualified Command.PreCommit
+import qualified Command.Find
subCmds :: [SubCommand]
subCmds =
@@ -61,6 +62,8 @@ subCmds =
"fix up symlinks to point to annexed content"
, SubCommand "fsck" maybepath Command.Fsck.seek
"check for problems"
+ , SubCommand "find" maybepath Command.Find.seek
+ "lists available files"
]
where
path = "PATH ..."