#!/bin/sh . "${TEST_SCRIPTS_DIR}/unit.sh" ok_null unit_test cmdline_test 1 ok <] [] Help Options: -h, --help Show this help message Options: -c, --count=INT Option help of length thirty. -v, --value=Value help of length 23 Short description Commands: A really really long command This is a really long help message short command short msg for short command Usage: test4 [-h] [-h|--help] [-c|--count=INT] [-v|--value=Value help of length 23] [] short command short msg for short command EOF unit_test cmdline_test 4 ok <] [] Help Options: -h, --help Show this help message Action Commands: action one action one help action two action two help Usage: test5 [] [] Help Options: -h, --help Show this help message Action Commands: action one action one help action two action two help Usage: test5 [] [] Help Options: -h, --help Show this help message Action Commands: action one action one help action two action two help EOF unit_test cmdline_test 5 ok <] [] Help Options: -h, --help Show this help message Basic Commands: cmd1 command one help cmd2 command two help Advanced Commands: cmd3 command three help cmd4 command four help Ultimate Commands: cmd5 command five help cmd6 command six help one three six EOF unit_test cmdline_test 7