[fix] ./manage script, prompt the unknown command

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
dependabot/pip/master/sphinx-6.1.3
Markus Heiser 3 years ago
parent 555bea6f24
commit e179dba7e4

@ -525,7 +525,7 @@ main() {
*)
_type="$(type -t "$cmd")"
if [ "$_type" != 'function' ]; then
err_msg "unknown command $1 / use --help"
err_msg "unknown command: $cmd / use --help"
return 42
else
"$cmd" "$@"

Loading…
Cancel
Save