utils upgrade
This commit is contained in:
@@ -1,4 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
#set -eo pipefail
|
||||
|
||||
if [[ "$1" == "-h" || "$1" == "--help" ]]; then
|
||||
cat <<EOF
|
||||
Usage: $(basename "$0") [-h] <command>
|
||||
|
||||
Show detailed information about a command.
|
||||
|
||||
Options:
|
||||
-h, --help Show this help message
|
||||
|
||||
Arguments:
|
||||
command Command to investigate
|
||||
|
||||
EOF
|
||||
exit 0
|
||||
fi
|
||||
|
||||
set -x
|
||||
|
||||
type "$1" 2>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user