Compare commits

..

2 Commits

Author SHA1 Message Date
7e09d3b3e6
Fix help usage 2021-01-10 21:00:41 -06:00
80036ca8ac
fix ls command usage text 2021-01-10 21:00:08 -06:00
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ func init() {
RegisterCommand(cmdName, Command{ RegisterCommand(cmdName, Command{
Func: LsCmd, Func: LsCmd,
Flags: fs, Flags: fs,
Use: "[--selector=<selector>", Use: "[--selector=<selector>]",
Short: "List the lights", Short: "List the lights",
}) })
} }

View File

@ -48,7 +48,7 @@ func main() {
cmd, ok := lumecmd.GetCommand(command) cmd, ok := lumecmd.GetCommand(command)
if !ok { if !ok {
fmt.Printf("lume: '%s' is not lume command. See 'lume' --help.'\n", command) fmt.Printf("lume: '%s' is not lume command. See 'lume help'\n", command)
os.Exit(1) os.Exit(1)
} }
fs := cmd.Flags fs := cmd.Flags