On 9/11/19 10:10 PM, Eric Blake wrote:
Ultimately, I'd like to add a unit test covering our recent fix
for
handling globals from consecutive -c, but let's start with a simple
test that --help output is sane. Sanity includes a mention of the man
page for more details (similar to nbdkit --help, although I couldn't
figure out how to make python's argparse output that sentence last).
Found it - pass epilog=... to the ArgumentParser() construction.
---
python/nbdsh.py | 3 ++-
sh/Makefile.am | 9 ++++++---
sh/test-help.sh | 32 ++++++++++++++++++++++++++++++++
3 files changed, 40 insertions(+), 4 deletions(-)
create mode 100755 sh/test-help.sh
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization:
qemu.org |
libvirt.org