darcs

Patch 1579 resolve issue2531: help for non-existing subcommand should fail

Title resolve issue2531: help for non-existing subcommand should fail
Superseder Nosy List
Related Issues
Status needs-review Assigned To
Milestone

Created on 2017-08-12.15:13:52 by bf, last changed 2017-08-21.09:13:15 by bf.

Files
File name Status Uploaded Type Edit Remove
resolve-issue2531_-help-for-non_existing-subcommand-should-fail.dpatch bf, 2017-08-12.15:13:52 application/x-darcs-patch
See mailing list archives for discussion on individual patches.
Messages
msg19614 (view) Author: gh Date: 2017-08-20.15:17:21
This works for "darcs show patchindex --help" (but showing a one-line
error message before showing the help of darcs show), but not for "darcs
help show patchindex".  Can you also fix the second case?
msg19623 (view) Author: bf Date: 2017-08-21.09:13:15
Are you sure? I get the same result for both. In fact, I think the
--help already filed as expected before this patch and all I did was to
bring the help command on par with --help. I should add a test to make sure.
History
Date User Action Args
2017-08-12 15:13:52bfcreate
2017-08-12 15:14:43bfsetstatus: needs-screening -> needs-review
2017-08-20 15:17:21ghsetmessages: + msg19614
2017-08-21 09:13:15bfsetmessages: + msg19623