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

Add hide donation message option in add subcommand #400

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

atamakahere-git
Copy link

Enhancement for #369

Copy link

cla-bot bot commented Jan 31, 2024

We require contributors to sign our Contributor License Agreement, and we don't have yours on file. In order for us to review and merge your code, please send a signing request to cla-requests@gdlauncher.com and add your github handle to contributors list.

@theRookieCoder theRookieCoder linked an issue Feb 1, 2024 that may be closed by this pull request
@dr-vortex
Copy link

@atamakahere-git Any updates on this?

@@ -51,6 +51,10 @@ pub enum SubCommands {
/// The mod loader will not be checked for this mod
#[clap(long, short = 'M', alias = "dont-check-mod-loader")]
ignore_mod_loader: bool,

/// Ignore the donation message
#[clap(long, short = 'H', alias = "hide-donation-message")]
Copy link
Collaborator

Choose a reason for hiding this comment

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

The alias here is unnecessary, clap will automatically convert Rust snake_case variables and PascalCase subcommands to the standard kebab-case used in CLIs.

- #[clap(long, short = 'H', alias = "hide-donation-message")]
+ #[clap(long, short = 'H')]

Copy link
Collaborator

Choose a reason for hiding this comment

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

Also I think Hide the donation message is good for the description too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Add option to hide donation message
3 participants