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

Help printing is too late #335

Closed
KorespondentAda opened this issue Nov 2, 2023 · 1 comment
Closed

Help printing is too late #335

KorespondentAda opened this issue Nov 2, 2023 · 1 comment

Comments

@KorespondentAda
Copy link

aft-mtp-mount --help won't work if there is no device, if it locked, blocked by other process or, probably, any other error occured in between arguments reading and its actual processing. So I can't see help message if working conditions not met.
I think code for printing help message should be reached before any actual work and troubleshooting in case I just want to see how to call executable and what to pass as arguments. There is no manual or infopage and it's OK, but only help I have is blocked by program logic.

@whoozle
Copy link
Owner

whoozle commented Nov 11, 2023

fixed in 6e9ac2d
Thanks! 👍

@whoozle whoozle closed this as completed Nov 11, 2023
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

No branches or pull requests

2 participants