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 [--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"