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

fix(upgrade-job): remove short args to resolve conflict over '-h' option #353

Merged
merged 1 commit into from
Oct 9, 2023

Conversation

niladrih
Copy link
Member

@niladrih niladrih commented Oct 8, 2023

Two clap args introduced in #330 make use the short form option argument. These two arguments -- 'helm_args_set' and 'helm_args_set_file' begin with 'h'. Both of these two args, as well the '--help' option try to make use of '-h'. This change removes the short form arg for these two args.

Remove short args for 'helm_args_set' and 'helm_args_set_file' CliArgs.

Description

Motivation and Context

upgrade-job -h fails.

Regression

Yes.

Fixes a regression introduced in #330

How Has This Been Tested?

Trivial change, tested the successful execution of upgrade-job -h.

Two clap args introduced in #330
make use the short form option argument. These two arguments -- 'helm_args_set' and
'helm_args_set_file' begin with 'h'. Both of these two args, as well the '--help'
option try to make use of '-h'. This change removes the short form arg for these
two args.

Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
Copy link
Contributor

@tiagolobocastro tiagolobocastro left a comment

Choose a reason for hiding this comment

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

This would have been caught by an upgrade test in the repo... we're close to getting there :)

@niladrih
Copy link
Member Author

niladrih commented Oct 9, 2023

This would have been caught by an upgrade test in the repo... we're close to getting there :)

Yuss 💯

@niladrih
Copy link
Member Author

niladrih commented Oct 9, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Oct 9, 2023

Build succeeded!

The publicly hosted instance of bors-ng is deprecated and will go away soon.

If you want to self-host your own instance, instructions are here.
For more help, visit the forum.

If you want to switch to GitHub's built-in merge queue, visit their help page.

@bors bors bot merged commit 8153ac3 into develop Oct 9, 2023
@bors bors bot deleted the upgrade-job-help branch October 9, 2023 13:52
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.

4 participants