Add short flag for breathe color

This commit is contained in:
Ryan Cavicchioni 2021-04-16 21:11:09 +00:00
parent 8cc556024f
commit 8133953bb1
Signed by: ryanc
GPG Key ID: 877EEDAF9245103D

View File

@ -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")