From be70675c5617b05be70281ab86d044ee70be7834 Mon Sep 17 00:00:00 2001 From: yibo <7483137+xyb994@users.noreply.github.com> Date: Tue, 25 Jun 2024 17:03:24 -0400 Subject: [PATCH] `treehouses led` better help message (fixes #2293) (#2296) Co-authored-by: dogi --- modules/led.sh | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/led.sh b/modules/led.sh index 1fb9b87dd..312e78656 100644 --- a/modules/led.sh +++ b/modules/led.sh @@ -917,6 +917,7 @@ function random { } function led_help { + initialize echo echo "Usage: $BASENAME led [green|red] [mode]" echo " $BASENAME led [newyear|blackhistorymonth|lunarnewyear|valentine|carnival|lantern|stpatricks]" diff --git a/package.json b/package.json index f9e8d81db..2ba0e040b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@treehouses/cli", - "version": "1.26.16", + "version": "1.26.17", "remote": "6000", "description": "Thin command-line interface for Raspberry Pi low level configuration.", "main": "cli.sh",