From e3786815cbfb687f4fe6d6ac95ba8daa46e11db2 Mon Sep 17 00:00:00 2001
From: Richard Hartmann <richih.mailinglist@gmail.com>
Date: Fri, 2 Dec 2011 21:47:38 +0100
Subject: [PATCH] Add docs for list-tracked and list-tracked-by

---
 _vcsh           |  2 ++
 doc/vcsh.1.ronn | 10 ++++++++++
 vcsh            |  3 +++
 3 files changed, 15 insertions(+)

diff --git a/_vcsh b/_vcsh
index c6efe6f..f5ab347 100644
--- a/_vcsh
+++ b/_vcsh
@@ -8,6 +8,8 @@ _arguments \
 		enter\:"Enter repo; spawn new \$SHELL"
 		init\:"init & clone from repo"
 		list\:"list all repos"
+		list-tracked\:"list all files tracked by vcsh"
+		list-tracked-by\:"list files tracked by a repo"
 		rename\:"rename repo"
 		run\:"run command on repo"
 		seed-gitignore\:"seed .gitignore.d/foo from git ls-files"
diff --git a/doc/vcsh.1.ronn b/doc/vcsh.1.ronn
index 0ea9428..e434b3c 100644
--- a/doc/vcsh.1.ronn
+++ b/doc/vcsh.1.ronn
@@ -15,6 +15,10 @@ vcsh(1) - manage and sync config files via git
 
 `vcsh` list
 
+`vcsh` list-tracked
+
+`vcsh` list-tracked-by <repo>
+
 `vcsh` rename <repo> <newname>
 
 `vcsh` run <repo> <command>
@@ -68,6 +72,12 @@ an interactive user.
 * list:
   List all local vcsh repositories.
 
+* list-tracked:
+  List all files tracked by vcsh.
+
+* list-tracked-by:
+  List files tracked by a repository.
+
 * rename:
   Rename a repository.
 
diff --git a/vcsh b/vcsh
index b0ffb64..60bcc41 100755
--- a/vcsh
+++ b/vcsh
@@ -16,6 +16,9 @@ help() {
    enter                Enter repository; spawn new $SHELL
    init <repo>          Initialize a new repository
    list                 List all repositories
+   list-tracked         List all files tracked by vcsh
+   list-tracked-by \\
+        <repo>          List files tracked by a repository
    rename <repo> \\
           <newname>     Rename repository
    run <repo> \\
-- 
GitLab