chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dgit-maint-gbp(7): discuss dgit.default.build-products-dir
[dgit.git]
/
git-debrebase
diff --git
a/git-debrebase
b/git-debrebase
index f00222520e9cf2f6d230b6ebd955d5b2c7aac80b..07e5f478cac58281570da99ef27e57953c0a6a53 100755
(executable)
--- a/
git-debrebase
+++ b/
git-debrebase
@@
-970,7
+970,8
@@
sub defaultcmd_rebase () {
}
sub cmd_analyse () {
}
sub cmd_analyse () {
- die if ($ARGV[0]//'') =~ m/^-/;
+ badusage "analyse does not support any options"
+ if @ARGV and $ARGV[0] =~ m/^-/;
badusage "too many arguments to analyse" if @ARGV>1;
my ($old) = @ARGV;
if (defined $old) {
badusage "too many arguments to analyse" if @ARGV>1;
my ($old) = @ARGV;
if (defined $old) {