Author: cazfi
Date: Sat Jan 24 11:53:31 2015
New Revision: 27801

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

See patch #5723

Modified:
    trunk/data/flags/convert_png

Modified: trunk/data/flags/convert_png
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/data/flags/convert_png?rev=27801&r1=27800&r2=27801&view=diff
==============================================================================
--- trunk/data/flags/convert_png        (original)
+++ trunk/data/flags/convert_png        Sat Jan 24 11:53:31 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