From 76dca652a25314d236dba8ba5c9372d5ed0982fb Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Wed, 18 Jan 2023 03:44:56 +0200 Subject: [PATCH 38/38] capabilities: Add V.V (version) to example capstrings See osdn #46405 Signed-off-by: Marko Lindqvist --- scripts/capabilities | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/scripts/capabilities b/scripts/capabilities index a839d44f65..fb44dd2209 100755 --- a/scripts/capabilities +++ b/scripts/capabilities @@ -13,7 +13,7 @@ # #***********************************************************************/ -# update capability string for +# Update capability string for # - network # - tilespec # - soundspec @@ -21,7 +21,7 @@ # - spec # - ruleset -# print usage +# Print usage function usage() { echo "" @@ -31,29 +31,29 @@ function usage() echo "OPTIONS:" echo " -c the capability to change. One of:" echo " aimodules: AI modules capability" - echo " (\"+Freeciv-ai-module-YYYY.MMM.DD\")" + echo " (\"+Freeciv-V.V-ai-module-YYYY.MMM.DD\")" echo " network: network capability" - echo " (\"+Freeciv.Devel.YYYY.MMM.DD\")" + echo " (\"+Freeciv.Devel-V.V-YYYY.MMM.DD\")" echo " tilespec: tileset capability" - echo " (\"+Freeciv-tilespec-Devel-YYYY.MMM.DD\")" + echo " (\"+Freeciv-tilespec-V.V-Devel-YYYY.MMM.DD\")" echo " soundspec: soundset capability" - echo " (\"+Freeciv-soundset-Devel-YYYY.MMM.DD\")" + echo " (\"+Freeciv-soundset-V.V-Devel-YYYY.MMM.DD\")" echo " musicspec: musicset capability" - echo " (\"+Freeciv-musicset-Devel-YYYY.MMM.DD\")" + echo " (\"+Freeciv-musicset-V.V-Devel-YYYY.MMM.DD\")" echo " spec: spec file capability" - echo " (\"+Freeciv-spec-Devel-YYYY.MMM.DD\")" + echo " (\"+Freeciv-spec-V.V-Devel-YYYY.MMM.DD\")" echo " ruleset: ruleset capability" - echo " (\"+Freeciv-ruleset-Devel-YYYY.MMM.DD\")" + echo " (\"+Freeciv-ruleset-V.V-Devel-YYYY.MMM.DD\")" echo " -d base directory (defaults to './')" echo " -h this help" echo " -s new string value for the capability" echo "" echo "EXAMPLE:" - echo " ${basename} -c network -s +Freeciv.Devel.2011.JAN.30" + echo " ${basename} -c network -s +Freeciv.Devel-3.3-2023.Feb.28b" echo "" } -# print carfulness hint +# Print carefulness hint function careful() { echo "" @@ -61,7 +61,7 @@ function careful() echo "" } -# process arguments +# Process arguments capability="usage" string= basedir="./" @@ -95,7 +95,7 @@ do esac done -if test "x$string" = "x" ; then +if test "$string" = "" ; then echo "Not setting empty capability string, use -s \"string\"" >&2 exit 1 fi -- 2.39.0