Skip to content

Change --check-target action like boolean flag and change some print statement condition - #136

Merged
tmcallaghan merged 2 commits into
awslabs:masterfrom
kimsehwan96:update-logic-for-check-target-argument-like-boolean-flag
Dec 4, 2024
Merged

tmcallaghan merged 2 commits into
awslabs:masterfrom
kimsehwan96:update-logic-for-check-target-argument-like-boolean-flag

Conversation

@kimsehwan96

@kimsehwan96 kimsehwan96 commented Dec 4, 2024 •

Copy link
Copy Markdown
Contributor

Issue #, if available:

Description of changes:

  1. I think --check-target argument doesn't need any value after that flag, but if we set the argument type as type=str, the cli program expect string value after that flag. So remove type argument in add_argument and add action='store_true'.
  2. If --check-target flag enabled then we don't need to print the description indicate Use --check-target.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@kimsehwan96 kimsehwan96 changed the title Change --check-target action like boolean flag and change some print … Change --check-target action like boolean flag and change some print statement condition Dec 4, 2024

@tmcallaghan tmcallaghan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approved.

@tmcallaghan
tmcallaghan merged commit 9d0ec5f into awslabs:master Dec 4, 2024
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