-
Notifications
You must be signed in to change notification settings - Fork 224
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
faas-cli new --help
shows a --name flag
#151
Comments
@rgee0 @alexellis @gardlt did anyone check that the cli backwards compatibility was being maintained when this verb change was made? In the Or @alexellis have you decided we should sever backwards compatibility (we should do so at some point) - impact being to blog posts/docs referring to old flags. |
@johnmccabe the excellent |
Ahh ignore me so, you're correct, its fine. |
Derek add label: bug |
Fixed in commit f13001a. Will be out in next release. |
Expected Behaviour
The help text should be unambiguous and help the user navigate the CLI options effectively.
Current Behaviour
Running
$ faas-cli new --help
yields the following:The usage line appears to be accurate but there is a
--name
shown in the flags which may lead users to attempt the following command:Possible Solution
Remove
--name
from the help text or ensure use of--name
overrides the args length check.Steps to Reproduce (for bugs)
1.Run
$ faas-cli new --name thisisthename --lang ruby
2.
3.
4.
Context
This has potential to mislead the user and is contrary to the aims of the help text.
Your Environment
docker version
(e.g. Docker 17.0.05 ):Are you using Docker Swarm or Kubernetes (FaaS-netes)?
Docker Swarm
Operating System and version (e.g. Linux, Windows, MacOS):
MacOS
Link to your project or a code example to reproduce issue:
The text was updated successfully, but these errors were encountered: