Skip to content

Issue 6067 - Add hidden -v and -j options to each CLI subcommand #6088

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

Merged
merged 1 commit into from
Feb 14, 2024

Conversation

droideck
Copy link
Member

@droideck droideck commented Feb 9, 2024

Description: There is no [-v] option before instance_name mentioned, so user will not know he can use it unless he runs "dsctl -h". Add a custom HelpFormatter to each subcommand. The formatter_class adds [-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: ?

Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: 389ds#6067

Reviewed by: ?
Copy link
Member

@vashirov vashirov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@droideck droideck merged commit eb6c95f into 389ds:main Feb 14, 2024
droideck added a commit to droideck/389-ds-base that referenced this pull request Feb 14, 2024
…ds#6088)

Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: 389ds#6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
droideck added a commit that referenced this pull request Feb 14, 2024
Description: There is no [-v] option before instance_name mentioned,
so user will not know he can use it unless he runs "dsctl -h".
Add a custom HelpFormatter to each subcommand. The formatter_class adds
[-v] [-j] to the usage line and adds the options' description to the full help output.

Related: #6067

Reviewed by: @vashirov (Thanks!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants