Martin Afanasjew
cf3486f98a
help: show command-specific help for invalid usage
...
Instead of always printing the generic help text, print command-specific
help if it is available and a command raised the `UsageError` exception.
Put the error message underneath the help text (was above) to avoid that
it scrolls off the screen.
Thereby fix a regression where handling the invalid usage would fail to
access `ARGV.usage` removed in c6536066dc39da653d265640c6ba6046bb5def98.
2016-04-20 13:46:10 +02:00
..
2016-04-20 13:45:26 +02:00
2016-04-20 13:45:26 +02:00
2016-04-20 13:45:26 +02:00
2016-04-20 13:45:26 +02:00
2016-04-20 13:45:26 +02:00
2016-04-20 13:45:26 +02:00
2016-04-16 16:14:15 +02:00
2016-02-10 21:01:12 +08:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-16 21:47:47 +08:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-03-28 18:22:47 +08:00
2016-04-20 13:46:10 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-18 12:23:08 -04:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-17 00:13:17 +02:00
2016-04-10 22:59:25 +02:00
2016-04-20 13:45:26 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-18 12:23:08 -04:00
2016-04-10 22:59:25 +02:00
2016-04-03 21:22:39 +08:00
2016-04-02 21:51:36 +08:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-14 14:44:23 +01:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-03 14:03:33 +01:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-19 16:29:29 +08:00
2016-04-18 12:23:08 -04:00
2016-04-12 11:02:22 +01:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-10 22:59:25 +02:00
2016-04-11 09:31:50 +01:00
2016-04-12 11:12:23 +01:00
2016-04-10 22:59:25 +02:00
2016-04-16 21:47:47 +08:00