]> git.openstreetmap.org Git - rails.git/blobdiff - script/misc/update-wiki-pages
Load wiki link data at startup and shorten some file names
[rails.git] / script / misc / update-wiki-pages
similarity index 93%
rename from script/misc/update-key-and-tag-description-pages-from-wiki
rename to script/misc/update-wiki-pages
index d40ca0bdb994351b93aa32689f5504273f8a61c3..15dd1b6a0a1767ffcb42a3b6c22d2a3677421f25 100644 (file)
@@ -19,11 +19,11 @@ use Test::More 'no_plan';
 
 =head1 NAME
 
-update-key-and-tag-description-pages-from-wiki - Screen-scrape the wiki for key/value wiki description pages
+update-wiki-pages - Screen-scrape the wiki for key/value wiki description pages
 
 =head1 SYNOPSIS
 
-    perl script/misc/update-key-and-tag-description-pages-from-wiki config/wiki-tag-and-key-description.yml 
+    perl script/misc/update-wiki-pages config/wiki_pages.yml 
 
 =head1 BUGS
 
@@ -77,7 +77,7 @@ ok(1, "Got a total of $count{$_} ${_}s") for qw[ key value ];
 
 # Dump to .yml file
 open my $out, ">", $ARGV[0] or die "Can't open file '$ARGV[0]' supplied on the command line";
-say $out "# THIS FILE IS AUTOGENERATED WITH THE script/misc/update-key-and-tag-description-pages-from-wiki";
+say $out "# THIS FILE IS AUTOGENERATED WITH THE script/misc/update-wiki-pages";
 say $out "# PROGRAM DO NOT MANUALLY EDIT IT";
 say $out "";
 say $out Dump(\%feature);