diff options
author | Richard Hartmann <richih@debian.org> | 2013-09-04 00:42:44 +0200 |
---|---|---|
committer | Richard Hartmann <richih@debian.org> | 2013-09-04 00:42:44 +0200 |
commit | 826d944a64972ded735a10eb0b11fd69e76fefbf (patch) | |
tree | c2890a9eb32b83865b8a7da097cba2a0d6b4abc9 /dgit | |
parent | 933e414e5217e473cd96a5f78a2473cda8edf0a3 (diff) |
dgit*: Implement `dgit help`
Diffstat (limited to 'dgit')
-rwxr-xr-x | dgit | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -230,7 +230,7 @@ sub badusage { exit 8; } -sub helponly () { +sub cmd_help () { print $helpmsg or die $!; exit 0; } @@ -1211,7 +1211,7 @@ sub parseopts () { } elsif (m/^--no-sign$/) { $sign=0; } elsif (m/^--help$/) { - helponly(); + cmd_help(); } elsif (m/^--new$/) { $new_package=1; } elsif (m/^--(\w+)=(.*)/s && @@ -1241,7 +1241,7 @@ sub parseopts () { if (s/^-n/-/) { $dryrun=1; } elsif (s/^-h/-/) { - helponly(); + cmd_help(); } elsif (s/^-D/-/) { open DEBUG, ">&STDERR" or die $!; $debug++; |