From c411678db227b134072ebb1bc752bb2fc844c034 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Mon, 29 Sep 2025 18:11:21 -0700 Subject: [PATCH] help command --- app/nose/bin/help.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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`