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 --print-package-exit to only print the package #79

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

Conversation

Artturin
Copy link
Member

Instead of printing the package and running the executable

@Artturin Artturin changed the title Change --print-package to only print the package Add --print-package-exit to only print the package Jun 17, 2024
@Artturin Artturin mentioned this pull request Jun 17, 2024
2 tasks
@Artturin Artturin marked this pull request as ready for review June 17, 2024 16:05
src/main.rs Outdated
@@ -191,6 194,10 @@ struct Opt {
#[clap(short = 'p', long = "print-package")]
print_package: bool,

/// Print the package containing the executable
#[clap(short = 'p', long = "print-package-exit")]
Copy link
Contributor

Choose a reason for hiding this comment

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

This short form is already used for the original print-package argument.

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed the short form

Copy link
Contributor

Choose a reason for hiding this comment

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

To be honest, I don't really see the point of the other flag, why would you print the package only to then run it anyway?

Instead of printing the package and running the executable
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.

None yet

2 participants