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 <ehem+xen@m5p.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
my $usage = <<EOT;
OPTIONS:
--------
-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
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,