From daac04e05bc03abfccacc6db788a5d2141997adc Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Sun, 24 Apr 2022 01:29:06 +0300 Subject: [PATCH 53/53] capabilities: Fix printing script name in 'usage' See osdn #43900 Signed-off-by: Marko Lindqvist --- scripts/capabilities | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/capabilities b/scripts/capabilities index 3ed13826c3..a839d44f65 100755 --- a/scripts/capabilities +++ b/scripts/capabilities @@ -1,5 +1,5 @@ #!/bin/bash -#/********************************************************************** +#/*********************************************************************** # Freeciv - Copyright (C) 2010 # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ function usage() { echo "" echo "USAGE:" - echo " ${basename} -h [-d ] [-c -s ]" + echo " $(basename $0) -h [-d ] [-c -s ]" echo "" echo "OPTIONS:" echo " -c the capability to change. One of:" -- 2.35.1