diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-02-06 15:54:16 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-02-06 15:54:16 -0600 |
commit | fcaa3199af5e5b58b52ca87206c7c715d65a911d (patch) | |
tree | 68b7212fcb43c1a533d6d3d291b8b20d5da791ba /bin/git | |
parent | ac5650aa9a9972f6b5419871fcb3a1936ed7607a (diff) | |
download | conf-fcaa3199af5e5b58b52ca87206c7c715d65a911d.tar.gz conf-fcaa3199af5e5b58b52ca87206c7c715d65a911d.zip |
better usage for git hub
Diffstat (limited to 'bin/git')
-rwxr-xr-x | bin/git/git-hub | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/git/git-hub b/bin/git/git-hub index 5e3e5e0..cbfb4cb 100755 --- a/bin/git/git-hub +++ b/bin/git/git-hub @@ -47,7 +47,10 @@ sub run { } sub usage { - die "usage"; + my @subcommands = do { no strict 'refs'; grep { /^run_command_/ } keys %{ __PACKAGE__ . '::' }; + die "usage: git hub <subcommand> [args...]\n" + . "subcommands:\n" + . " " . join "\n ", ; } sub run_command { |