From: Elliott Mitchell Date: Mon, 2 May 2022 06:50:02 +0000 (+0200) Subject: scripts/add_maintainers.pl: add -o as an alternative to --patchdir X-Git-Tag: archive/raspbian/4.17.0-1+rpi1^2~33^2~673 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3c245bc3a2f0597e2da2d5e12b5a9372c9360cea;p=xen.git scripts/add_maintainers.pl: add -o as an alternative to --patchdir This matches the output directory option used by `git format-patch`. I suspect I'm not the only one who finds matching `git format-patch` more intuitive, than -d for directory. Signed-off-by: Elliott Mitchell Reviewed-by: Juergen Gross --- diff --git a/scripts/add_maintainers.pl b/scripts/add_maintainers.pl index 5a6d0f631b..380e8da22a 100755 --- a/scripts/add_maintainers.pl +++ b/scripts/add_maintainers.pl @@ -32,7 +32,7 @@ $get_maintainer =~ s/add_maintainers/get_maintainer/; my $usage = < +USAGE: $tool [options] (--patchdir | -d | -o) --reroll-count | -v Choose patch files for specific version. This results into the @@ -223,7 +223,7 @@ my $patch_ext = ".patch"; my $maintainers = "MAINTAINERS"; if (!GetOptions( - 'd|patchdir=s' => \$patch_dir, + 'd|o|patchdir=s' => \$patch_dir, 'v|reroll-count=i' => \$rerollcount, 'p|patchcc=s' => \$plocation, 'c|covercc=s' => \$clocation,