Scripts will display only filename instead of full path in echo messages

This commit is contained in:
Matheus Albino
2024-06-26 15:45:39 -03:00
parent f35119599f
commit a0025ab1db
11 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
#!/bin/bash
show_help() {
echo "Usage: $0 [--files|-f files]"
echo "Usage: `basename $0` [--files|-f files]"
echo "Options:"
echo " --help | -h (Optional) Display help information on how to use this script"
echo " --deployments-dir | -d (Required) Specify the Wildfly's deployment directory"

View File

@@ -2,7 +2,7 @@
show_help() {
echo "Usage: $0 [--files|-f files]"
echo "Usage: `basename $0` [--files|-f files]"
echo "Options:"
echo " --help | -h (Optional) Display help information on how to use this script"
echo " --files | -f (Optional) Specify the files to explode, separation by comma (,)"

View File

@@ -1,7 +1,7 @@
#!/bin/bash
show_help() {
echo "Usage: $0 [--grep-str|-g string]"
echo "Usage: `basename $0` [--grep-str|-g string]"
echo "Options:"
echo " --help | -h (Optional) Display help information on how to use this script"
echo " --grep-str <string> | -g <string> (Optional) Specify a customized string for grepping the process description"

View File

@@ -1,7 +1,7 @@
#!/bin/bash
show_help() {
echo "Usage: $0 [--files|-f files]"
echo "Usage: `basename $0` [--files|-f files]"
echo "Options:"
echo " --help | -h (Optional) Display help information on how to use this script"
echo " --version | --version (Required) Specify the GP version to install"

View File

@@ -3,7 +3,7 @@
printf "\n"
show_help() {
echo "Usage: $0 [--commit-hashes|-c commit hashes] [--deployments-path|-d deployments path]"
echo "Usage: `basename $0` [--commit-hashes|-c commit hashes] [--deployments-path|-d deployments path]"
echo "Options:"
echo " --help | -h (Optional) Display help information on how to use this script"
echo " --commit-hashes | -c (Required) Specify the commit hashes, separation by comma (,)"