summaryrefslogtreecommitdiff
path: root/runtime/tools
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-04-06 11:14:11 +0200
committerBram Moolenaar <Bram@vim.org>2018-04-06 11:14:11 +0200
commit51ad4eaa22e15cf1fe6c45d82c7e1371e00401a4 (patch)
treecbbffd6ee4cfe19094e84f3e3b61fcf9cbf09cc5 /runtime/tools
parentd5359b24ceefefed4b3a37efd9bf54176935f3a5 (diff)
downloadvim-git-51ad4eaa22e15cf1fe6c45d82c7e1371e00401a4.tar.gz
Update runtime files
Diffstat (limited to 'runtime/tools')
-rwxr-xr-xruntime/tools/shtags.pl12
1 files changed, 6 insertions, 6 deletions
diff --git a/runtime/tools/shtags.pl b/runtime/tools/shtags.pl
index 48dcdc747..79238fdb2 100755
--- a/runtime/tools/shtags.pl
+++ b/runtime/tools/shtags.pl
@@ -3,11 +3,12 @@
# shtags: create a tags file for perl scripts
#
# Author: Stephen Riehm
-# Last Changed: 96/11/27 19:46:06
-#
-# "@(#) shtags 1.1 by S. Riehm"
+# Updated by: David Woodfall <dave@dawoodfall.net>
+# Last Changed: 2018/04/02
#
+use Getopt::Std;
+
# obvious... :-)
sub usage
{
@@ -30,7 +31,7 @@ sub version
#
# Version information
#
- @id = split( ', ', 'scripts/bin/shtags, /usr/local/, LOCAL_SCRIPTS, 1.1, 96/11/27, 19:46:06' );
+ @id = split( ', ', 'scripts/bin/shtags, /usr/local/, LOCAL_SCRIPTS, 1.2, 18/04/02, 07:37' );
$id[0] =~ s,.*/,,;
print <<_EOVERS;
$id[0]: $id[3]
@@ -45,12 +46,11 @@ _EOVERS
# initialisations
#
($program = $0) =~ s,.*/,,;
-require 'getopts.pl';
#
# parse command line
#
-&Getopts( "t:s:vVwx" ) || &usage();
+getopts( "t:s:vVwx" ) || &usage();
$tags_file = $opt_t || 'tags';
$explicit = $opt_x;
$variable_tags = $opt_v;