diff --git a/cmd/debora/main.go b/cmd/debora/main.go index fe109dd3b..51e7360df 100644 --- a/cmd/debora/main.go +++ b/cmd/debora/main.go @@ -32,6 +32,11 @@ func main() { Value: "default", Usage: "uses ~/.debora/.cfg", } + labelFlag = cli.StringFlag{ + Name: "label", + Value: "_", + Usage: "label of the process, or _ by default", + } bgFlag = cli.BoolFlag{ Name: "bg", Usage: "if set, runs as a background daemon", @@ -68,6 +73,7 @@ func main() { Usage: "run process", Action: cliRunProcess, Flags: []cli.Flag{ + labelFlag, bgFlag, inputFlag, }, @@ -125,15 +131,14 @@ func cliGetStatus(c *cli.Context) { func cliRunProcess(c *cli.Context) { args := c.Args() - if len(args) < 2 { - Exit("Must specify