acorn-io / runtime

A simple application deployment framework built on Kubernetes
https://docs.acorn.io/
Apache License 2.0
1.13k stars 100 forks source link

Confusing text replacement in error message (namespace -> project) #2378

Open fe-ax opened 9 months ago

fe-ax commented 9 months ago

https://github.com/acorn-io/runtime/blob/8b9acb47a01e2ea40f5e8dbffbd7146971c83c4c/pkg/cli/errors.go#L23

The code causes error messages to be confusing

$ acorn run -j itest-22359-asd -n app2 --target-namespace itest-22359-app2
  ✗  ERROR:  unknown flag: --target-project