diff --git a/app/nose/bin/help.ts b/app/nose/bin/help.ts index d0ade0c..f5c6862 100644 --- a/app/nose/bin/help.ts +++ b/app/nose/bin/help.ts @@ -1,10 +1,12 @@ -// Show helpful information about a command. +// Show helpful information about a command. // // (Hopefully.) import { commandPath } from "@/commands" export default async function (cmd: string) { + if (!cmd) return "usage: help " + const path = commandPath(cmd) if (!path) throw `${cmd} not found`