Skip to content
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

[GSSC-GVT]The help menu seems displays the same when input different LB4 command. #5119

Closed
wxuwh opened this issue Apr 16, 2020 · 2 comments
Closed
Assignees
Labels
CLI feature GVT For translation tests

Comments

@wxuwh
Copy link

wxuwh commented Apr 16, 2020

Steps:

  1. Input command: apic lb4 example -h
    check the screen1;
  2. Input command: apic lb4 -h
    check the screen2;
    screen1
    image
    screen2
    image

Actual Result:
The help messages are the same when input different lb4 command for help

@wxuwh wxuwh added the bug label Apr 16, 2020
@dougal83 dougal83 added CLI and removed bug labels Apr 16, 2020
@dougal83
Copy link
Contributor

I believe the -h flag outputs out a static message and there is no support for each command. Perhaps as part of revisiting the cli code this feature could be addressed? See #844

@dhmlau dhmlau added the GVT For translation tests label Apr 16, 2020
@agnes512 agnes512 reopened this Apr 21, 2020
@agnes512
Copy link
Contributor

@wxuwh I think -h and those options can be applied to all commands. So the first ones are the same, and the rest content should be different ( see the screenshots below). I also notice in those pics that you have the same usage for both commands:

lb4 app [<name>] [option]` for those two commands. 

I checked locally, they have correct display on my end:

lb4 -h

image

lb4 example -h

image

You might want to check if you have the latest CLI installed.

Some characters are mixed in help, skip-cache, etc. to show that they are translatable.

I am closing the issue as it is the expected behavior. Feel free to reopen it if you have question, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLI feature GVT For translation tests
Projects
None yet
Development

No branches or pull requests

4 participants