X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cf108868b4eeed4d0d9d343bc68557d7814e18c0..715a069017c17416e776a53b4b5553ebddbfdad8:/tools/simgrid_update_xml.pl diff --git a/tools/simgrid_update_xml.pl b/tools/simgrid_update_xml.pl index da3df3f190..6ed9d52be8 100755 --- a/tools/simgrid_update_xml.pl +++ b/tools/simgrid_update_xml.pl @@ -41,7 +41,7 @@ changes in each version. =item -The version attribute of platform were added to allow file versionning. +The version attribute of platform were added to allow file versioning. =item @@ -144,16 +144,13 @@ use strict; my $fromversion=-1; my $toversion=4; -my($output_string); - -my $filename = $ARGV[0] or die "simgrid_update_xml.pl \n"; +my $filename = $ARGV[0] or die "Usage: simgrid_update_xml.pl file_to_convert.xml\nPlease provide an XML to convert as a parameter.\n"; open INPUT, "$filename" or die "Cannot open input file $filename: $!\n"; -$output_string = "\n". +my $output_string = "\n". "\n". "\n"; - my($AS_opened)=0; my $line;