Compare commits
2 Commits
629e5566ae
...
7e09d3b3e6
Author | SHA1 | Date | |
---|---|---|---|
7e09d3b3e6 | |||
80036ca8ac |
@ -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",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user