-
Notifications
You must be signed in to change notification settings - Fork 84
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
Improve documentation and error handling of -dryrun #8
Labels
enhancement
New feature or request
Comments
pauldreik
pushed a commit
that referenced
this issue
Oct 15, 2018
pauldreik
pushed a commit
that referenced
this issue
Oct 15, 2018
pauldreik
pushed a commit
that referenced
this issue
Oct 15, 2018
pauldreik
pushed a commit
that referenced
this issue
Oct 15, 2018
I do not see how to improve the documentation. Reading the Debian bug report again, I think the submitter had immediately understood what was wrong if the updated error message had been in place. |
This is fixed in 1.4.0-alpha0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The dryrun option is possible to misunderstand, and the error message is bad. See Debian bug 754663 and Ubuntu bug 1782273.
It is perhaps difficult to get right from glancing over the documentation because it needs a boolean argument true or false afterwards. This is a bad design (sorry!) but must remain as is for backwards compatibility. Making the true|false optional, would lead to ambiguity if invoking like this awkward example shows:
It would be good to improve the error output, such that the error message immediately suggest what should be done.
Perhaps the builtin documentation can be made a bit clearer.
The text was updated successfully, but these errors were encountered: