fix: help command stops displaying an error (#84)
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
|
||||||
VERSION="0.6.8"
|
VERSION="0.6.9"
|
||||||
|
|
||||||
# --- Globals ---
|
# --- Globals ---
|
||||||
|
|
||||||
@@ -1954,6 +1954,9 @@ function main() {
|
|||||||
"update"|"up")
|
"update"|"up")
|
||||||
self_update
|
self_update
|
||||||
;;
|
;;
|
||||||
|
"help"|"h"|"-h"|"--help")
|
||||||
|
$display_help
|
||||||
|
;;
|
||||||
*)
|
*)
|
||||||
log ERROR "Unknown command: $command"
|
log ERROR "Unknown command: $command"
|
||||||
$display_help
|
$display_help
|
||||||
|
|||||||
Reference in New Issue
Block a user