diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-31 13:28:41 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2018-07-31 13:28:42 +0100 |
commit | e5d430e4208757b874443779b75ca884a143aa6a (patch) | |
tree | 65ab7d6ec6eef305f7120c6efa56d3f1233010be /tests/run-all | |
parent | c83cc428208bee99de3b75158b9779449403ee1b (diff) |
git-debrebase: Improve error messages for bad options.
* GetOptions calls warn(). So we need a wrapper which disables
or $SIG{__WARN__} (which prints a stack trace).
* Put the call to badusage in the wrapper.
* Change the messages to be clearer about what is meant.
* Add the program name to the badusage message.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'tests/run-all')
0 files changed, 0 insertions, 0 deletions