Scripts will display only filename instead of full path in echo messages
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 (,)"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 (,)"
|
||||
|
||||
Reference in New Issue
Block a user