From: Joe Perches Date: Tue, 22 Sep 2009 00:04:21 +0000 (-0700) Subject: scripts/get_maintainer.pl: using --separator implies --nomultiline X-Git-Tag: MMI-PSA29.97-13-9~26719 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=42498316132e89ca2835b977a7cfb32a83e97b35;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git scripts/get_maintainer.pl: using --separator implies --nomultiline If a person sets a separator, it's only used if --nomultiline is set. Don't make the command line also include --nomultiline in that case. Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/scripts/get_maintainer.pl b/scripts/get_maintainer.pl index 8b80b5abb860..446803efe620 100755 --- a/scripts/get_maintainer.pl +++ b/scripts/get_maintainer.pl @@ -105,6 +105,10 @@ if ($#ARGV < 0) { die "$P: argument missing: patchfile or -f file please\n"; } +if ($output_separator ne ", ") { + $output_multiline = 0; +} + my $selections = $email + $scm + $status + $subsystem + $web; if ($selections == 0) { usage(); @@ -376,6 +380,7 @@ MAINTAINER field selection options: Output type options: --separator [, ] => separator for multiple entries on 1 line + using --separator also sets --nomultiline if --separator is not [, ] --multiline => print 1 entry per line Other options: