Commit 3c245bc3 authored by Elliott Mitchell's avatar Elliott Mitchell Committed by Jan Beulich

scripts/ 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: default avatarElliott Mitchell <>
Reviewed-by: default avatarJuergen Gross <>
parent ce59e472
......@@ -32,7 +32,7 @@ $get_maintainer =~ s/add_maintainers/get_maintainer/;
my $usage = <<EOT;
USAGE: $tool [options] (--patchdir | -d) <patchdir>
USAGE: $tool [options] (--patchdir | -d | -o) <patchdir>
--reroll-count <n> | -v <n>
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,
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment