[fd90096] | 1 | no arg: |
---|
| 2 | yes/no :false |
---|
| 3 | Y/N :false |
---|
| 4 | y/n :false |
---|
| 5 | true/false :false |
---|
| 6 | set true :false |
---|
| 7 | set false :true |
---|
| 8 | Child status: |
---|
| 9 | WIFEXITED : 1 WEXITSTATUS : 0 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 0 WIFCONTINUED: 0 |
---|
| 10 | |
---|
| 11 | all true/set arg: |
---|
| 12 | yes/no :true |
---|
| 13 | Y/N :true |
---|
| 14 | y/n :true |
---|
| 15 | true/false :true |
---|
| 16 | set true :true |
---|
| 17 | set false :false |
---|
| 18 | Child status: |
---|
| 19 | WIFEXITED : 1 WEXITSTATUS : 0 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 0 WIFCONTINUED: 0 |
---|
| 20 | |
---|
| 21 | all false/unset arg: |
---|
| 22 | yes/no :false |
---|
| 23 | Y/N :false |
---|
| 24 | y/n :false |
---|
| 25 | true/false :false |
---|
| 26 | set true :false |
---|
| 27 | set false :true |
---|
| 28 | Child status: |
---|
| 29 | WIFEXITED : 1 WEXITSTATUS : 0 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 0 WIFCONTINUED: 0 |
---|
| 30 | |
---|
| 31 | gibberish arg 1: |
---|
| 32 | Argument 'true' for option y could not be parsed |
---|
| 33 | |
---|
| 34 | Usage: |
---|
| 35 | parsebools [OPTIONS]... |
---|
| 36 | testing bool parameters |
---|
| 37 | -e, --yesno test yes/no |
---|
| 38 | -y, --YN test yes/no |
---|
| 39 | -n, --yn test yes/no |
---|
| 40 | -t, --truefalse test true/false |
---|
| 41 | -s, --settrue test set true |
---|
| 42 | -u, --setfalse test set false |
---|
| 43 | -h, --help print this help message |
---|
| 44 | Child status: |
---|
| 45 | WIFEXITED : 1 WEXITSTATUS : 1 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 1 WIFCONTINUED: 0 |
---|
| 46 | |
---|
| 47 | gibberish arg 2: |
---|
| 48 | Argument 'yes' for option t could not be parsed |
---|
| 49 | |
---|
| 50 | Usage: |
---|
| 51 | parsebools [OPTIONS]... |
---|
| 52 | testing bool parameters |
---|
| 53 | -e, --yesno test yes/no |
---|
| 54 | -y, --YN test yes/no |
---|
| 55 | -n, --yn test yes/no |
---|
| 56 | -t, --truefalse test true/false |
---|
| 57 | -s, --settrue test set true |
---|
| 58 | -u, --setfalse test set false |
---|
| 59 | -h, --help print this help message |
---|
| 60 | Child status: |
---|
| 61 | WIFEXITED : 1 WEXITSTATUS : 1 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 1 WIFCONTINUED: 0 |
---|
| 62 | |
---|
| 63 | gibberish arg 3: |
---|
| 64 | parsebools: invalid option -- '=' |
---|
| 65 | Usage: |
---|
| 66 | parsebools [OPTIONS]... |
---|
| 67 | testing bool parameters |
---|
| 68 | -e, --yesno test yes/no |
---|
| 69 | -y, --YN test yes/no |
---|
| 70 | -n, --yn test yes/no |
---|
| 71 | -t, --truefalse test true/false |
---|
| 72 | -s, --settrue test set true |
---|
| 73 | -u, --setfalse test set false |
---|
| 74 | -h, --help print this help message |
---|
| 75 | Child status: |
---|
| 76 | WIFEXITED : 1 WEXITSTATUS : 1 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 1 WIFCONTINUED: 0 |
---|
| 77 | |
---|
| 78 | gibberish arg 4: |
---|
| 79 | parsebools: invalid option -- '=' |
---|
| 80 | Usage: |
---|
| 81 | parsebools [OPTIONS]... |
---|
| 82 | testing bool parameters |
---|
| 83 | -e, --yesno test yes/no |
---|
| 84 | -y, --YN test yes/no |
---|
| 85 | -n, --yn test yes/no |
---|
| 86 | -t, --truefalse test true/false |
---|
| 87 | -s, --settrue test set true |
---|
| 88 | -u, --setfalse test set false |
---|
| 89 | -h, --help print this help message |
---|
| 90 | Child status: |
---|
| 91 | WIFEXITED : 1 WEXITSTATUS : 1 WIFSIGNALED : 0 WTERMSIG : 0 WCOREDUMP : 0 WIFSTOPPED : 0 WSTOPSIG : 1 WIFCONTINUED: 0 |
---|
| 92 | |
---|
| 93 | All Done! |
---|