From Gisle Vanem on -dev: don't print modelines info when run with -h.

Also remove trailing white space.

Change-Id: Ic56140f617a2cbf9fa93fb427282eab0b6cff9c6
Reviewed-on: https://code.wireshark.org/review/2113
Reviewed-by: Evan Huus <eapache@gmail.com>
This commit is contained in:
Jeff Morriss 2014-06-10 14:29:46 -04:00 committed by Evan Huus
parent 51750bea8a
commit 4dfbb792c8
1 changed files with 3 additions and 1 deletions

View File

@ -256,7 +256,7 @@ sub read_repo_info {
no warnings "all";
# If someone had properly tagged 1.9.0 we could also use
# "git describe --abbrev=1 --tags HEAD"
$info_cmd = "(cd $srcdir; git log --format='%b' -n 1)";
$line = qx{$info_cmd};
if (defined($line)) {
@ -709,6 +709,8 @@ make-version.pl [options] [source directory]
Options can be used in any combination. If none are specified B<--set-svn>
is assumed.
=cut
#
# Editor modelines - http://www.wireshark.org/tools/modelines.html
#