]> git.madduck.net Git - code/vcsh.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Merge pull request #31 from mek-apelsin/master
authorRichard Hartmann <richih.mailinglist@gmail.com>
Thu, 4 Oct 2012 11:31:21 +0000 (04:31 -0700)
committerRichard Hartmann <richih.mailinglist@gmail.com>
Thu, 4 Oct 2012 11:31:21 +0000 (04:31 -0700)
Fix mistake and improve wording in help()

Was: "Help isn't showing correct number of <repo>"

vcsh

diff --git a/vcsh b/vcsh
index 594368def1b45ab67e947ebc3ac5be7551d27b1e..496a43f2cb0dba9e9b121218da13a01bab5b59bd 100755 (executable)
--- a/vcsh
+++ b/vcsh
@@ -72,13 +72,13 @@ help() {
    options:
    -c <file>            Source file
    -d                   Enable debug mode
-   -d                   Enable verbose mode
+   -v                   Enable verbose mode
 
    commands:
    clone <remote> \\
          [<repo>]       Clone from an existing repository
-   delete               Delete an existing repository
-   enter                Enter repository; spawn new instance of \$SHELL
+   delete <repo>        Delete an existing repository
+   enter <repo>         Enter repository; spawn new instance of \$SHELL
    help                 Display this help text
    init <repo>          Initialize a new repository
    list                 List all repositories
@@ -89,7 +89,7 @@ help() {
           <newname>     Rename repository
    run <repo> \\
        <command>        Use this repository
-   setup                Set up repository with recommended settings
+   setup <repo>         Set up repository with recommended settings
    which <substring>    Find substring in name of any tracked file
    write-gitignore \\
    <repo>               Write .gitignore.d/<repo> via git ls-files