aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/app/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/app/main.go')
-rw-r--r--cmd/app/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/app/main.go b/cmd/app/main.go
index d937ceac..b911e7dd 100644
--- a/cmd/app/main.go
+++ b/cmd/app/main.go
@@ -148,7 +148,7 @@ func main() {
c.NewCommand(
"run", "Start the named application",
func(args []string) error {
- if len(args) != 1 {
+ if len(args) < 1 {
dents, err := os.ReadDir(base.Append("app").String())
if err != nil {
return err
@@ -197,7 +197,7 @@ func main() {
config.Container.Args[2] = flagCommand
}
- return run(ctx, msg, config)
+ return run(ctx, msg, config, args[1:]...)
},
).
Flag(