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

--verbose is only considered if there is more than one argument and is forwarded to the started application #54

Open
Vampire opened this issue Aug 7, 2019 · 1 comment · May be fixed by #88

Comments

@Vampire
Copy link
Contributor

Vampire commented Aug 7, 2019

If I call

/Applications/MyApplication.app/Contents/MacOS/myapp --verbose

then the argument is only forwarded to the started application, but the verbose output is not printed.
Only if there is at least one other argument, the verbose flag is taken into account.

I'd like to suggest besides fixing this, so that it works standalone,
to also swallow the first occurrence of this flag, so that it is not forwarded to the started application which might otherwise bail on invalid arguments.
For case that it is also a valid argument of the started application, it should only swallow the first occurrence and then stop searching. (currently it always iterates over all arguments)

@Vampire
Copy link
Contributor Author

Vampire commented Nov 24, 2023

That it is only considered with multiple arguments was fixed by #77.
So only the forwarding to the application is left here.

Vampire added a commit to Vampire/appbundler that referenced this issue Nov 24, 2023
@Vampire Vampire linked a pull request Nov 24, 2023 that will close this issue
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 a pull request may close this issue.

1 participant