Author: cazfi
Date: Sat Jan 24 11:53:46 2015
New Revision: 27803

URL: http://svn.gna.org/viewcvs/freeciv?rev=27803&view=rev
Log:
convert_png gives usage information with --help

See patch #5723

Modified:
    branches/S2_5/data/flags/convert_png

Modified: branches/S2_5/data/flags/convert_png
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/data/flags/convert_png?rev=27803&r1=27802&r2=27803&view=diff
==============================================================================
--- branches/S2_5/data/flags/convert_png        (original)
+++ branches/S2_5/data/flags/convert_png        Sat Jan 24 11:53:46 2015
@@ -1,6 +1,11 @@
 #!/bin/bash
 
 files="$@"
+
+if test "x$1" = "x-h" || test "x$1" = "x--help" ; then
+    echo "Usage: $(basename $0) [list of svg-files]"
+    exit 0
+fi
 
 # Renderer: inkscape or sodipodi.  Inkscape seems slightly better.
 #SODIPODI="sodipodi"


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to