From 8333d249d9cd9fbbb1d2d5e12c6c0bd8d1d9b95b Mon Sep 17 00:00:00 2001 From: rootiest Date: Sun, 3 May 2026 14:29:30 -0400 Subject: [PATCH] fix(help): clarify --swatch applies to terminal and notifications The --swatch flag now controls both the inline terminal color block and the desktop notification icon (via ImageMagick). Update the help text to reflect this so users know the flag affects both output contexts. --- color-tool | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/color-tool b/color-tool index 96f09e4..9408ef2 100755 --- a/color-tool +++ b/color-tool @@ -305,7 +305,7 @@ show_help() { printf " ${bold}${cyan}--output${reset} ${dim}FMT${reset} Format(s) to output: ${cyan}hex, rgb, hsl, rgba, hsla, hexa, all${reset} ${dim}(comma-separated)${reset}\n" printf " ${bold}${cyan}--[no-]json${reset} Output as a JSON table of selected formats\n" printf " ${bold}${cyan}--[no-]name${reset} Fetch nearest color name from thecolorapi.com ${dim}(requires curl, jq)${reset}\n" - printf " ${bold}${cyan}--[no-]swatch${reset} Include a color swatch in the terminal output\n" + printf " ${bold}${cyan}--[no-]swatch${reset} Include a color swatch in the terminal output and desktop notification\n" printf " ${bold}${cyan}--[no-]copy${reset} Copy result to clipboard ${dim}(wl-clipboard preferred, xclip as fallback)${reset}\n" printf " ${bold}${cyan}--[no-]notify${reset} Show desktop notification ${dim}(on by default in --desktop)${reset}\n" printf " ${bold}${cyan}--desktop${reset} GUI mode: pick → copy → notify ${dim}(for app menu / .desktop launcher)${reset}\n" -- 2.52.0