From 8133953bb1e06d57abbe05574797bdf6536f540b Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Fri, 16 Apr 2021 21:11:09 +0000 Subject: [PATCH] Add short flag for breathe color --- cmd/breathe.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/breathe.go b/cmd/breathe.go index 9f4abe8..0c382c1 100644 --- a/cmd/breathe.go +++ b/cmd/breathe.go @@ -16,7 +16,8 @@ func NewCmdBreathe() Command { selector := fs.String("selector", defaultSelector, "Set the selector") fs.StringVar(selector, "s", defaultSelector, "Set the selector") - fs.String("color", defaultColor, "The color to use for the breathe effect") + color := fs.String("color", defaultColor, "The color to use for the breathe effect") + fs.StringVar(color, "c", defaultColor, "The color to use for the breathe effect") fs.String("from-color", defaultColor, "The color to start the effect from")