We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
treehouses log
1 parent 120fcd9 commit efac925Copy full SHA for efac925
modules/log.sh
@@ -51,7 +51,11 @@ function log_comment_and_exit1() {
51
52
function log_help_and_exit1() {
53
logit "$1" "$3"
54
- "$2_help"
+ if type -t $2_help >/dev/null; then
55
+ "$2_help"
56
+ else
57
+ echo "Panic: help function not found"
58
+ fi
59
exit 1
60
}
61
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "@treehouses/cli",
3
- "version": "1.25.1",
+ "version": "1.25.2",
4
"remote": "4000",
5
"description": "Thin command-line interface for Raspberry Pi low level configuration.",
6
"main": "cli.sh",
0 commit comments