ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: [Wireshark-dev] [Patch] make-version.pl

From: "Gisle Vanem" <gvanem@xxxxxxxx>
Date: Wed, 4 Jun 2014 13:28:18 +0200
The 'Editor modelines' at end of make-version.pl should not be printed.
E.g. 'perl make-version.pl -h' prints this garbage at the end:
 ...
 Options can be used in any combination. If none are specified --set-svn
 is assumed.

 # # Editor modelines - http://www.wireshark.org/tools/modelines.html # #
 Local variables: # c-basic-offset: 8 # tab-width: 8 # indent-tabs-mode:
 t # End: # # vi: set shiftwidth=8 tabstop=8 noexpandtab: #
 :indentSize=8:tabSize=8:noTabs=false: # #

---------------------

My Strawberry Perl (on Win-XP) doesn't convert Unix endings to DOS-endings here. Not sure if it should do that in this Pod-section? (I don't know Perl that well).
Anyway, a '=cut' fixes this here:

@@ -709,6 +709,8 @@
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
#

-----------------

--gv