| 1 | no arg:
|
|---|
| 2 | int :-3
|
|---|
| 3 | unsigned :3
|
|---|
| 4 | unsigned long :3
|
|---|
| 5 | unsigned long long :3
|
|---|
| 6 | double :3.3
|
|---|
| 7 | Child status:
|
|---|
| 8 | IFEXITED : 1, EXITSTATUS : 0, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 0, IFCONTINUED: 0
|
|---|
| 9 |
|
|---|
| 10 | all 0 arg:
|
|---|
| 11 | int :0
|
|---|
| 12 | unsigned :0
|
|---|
| 13 | unsigned long :0
|
|---|
| 14 | unsigned long long :0
|
|---|
| 15 | double :0.
|
|---|
| 16 | Child status:
|
|---|
| 17 | IFEXITED : 1, EXITSTATUS : 0, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 0, IFCONTINUED: 0
|
|---|
| 18 |
|
|---|
| 19 | negative vals arg:
|
|---|
| 20 | int :-1
|
|---|
| 21 | unsigned :3
|
|---|
| 22 | unsigned long :3
|
|---|
| 23 | unsigned long long :3
|
|---|
| 24 | double :-1.
|
|---|
| 25 | Child status:
|
|---|
| 26 | IFEXITED : 1, EXITSTATUS : 0, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 0, IFCONTINUED: 0
|
|---|
| 27 |
|
|---|
| 28 | funky notation arg:
|
|---|
| 29 | int :16
|
|---|
| 30 | unsigned :32
|
|---|
| 31 | unsigned long :768
|
|---|
| 32 | unsigned long long :16384
|
|---|
| 33 | double :5000000.
|
|---|
| 34 | Child status:
|
|---|
| 35 | IFEXITED : 1, EXITSTATUS : 0, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 0, IFCONTINUED: 0
|
|---|
| 36 |
|
|---|
| 37 | big values arg:
|
|---|
| 38 | int :2147483647
|
|---|
| 39 | unsigned :4294967295
|
|---|
| 40 | unsigned long :18446744073709551615
|
|---|
| 41 | unsigned long long :18446744073709551615
|
|---|
| 42 | double :5000000.
|
|---|
| 43 | Child status:
|
|---|
| 44 | IFEXITED : 1, EXITSTATUS : 0, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 0, IFCONTINUED: 0
|
|---|
| 45 |
|
|---|
| 46 | too big values arg:
|
|---|
| 47 | Argument '2147483648' for option i could not be parsed
|
|---|
| 48 |
|
|---|
| 49 | Usage:
|
|---|
| 50 | parsenums [OPTIONS]...
|
|---|
| 51 | testing bool parameters
|
|---|
| 52 | -i, --int test int
|
|---|
| 53 | -u, --unsigned test unsigned
|
|---|
| 54 | -l, --unsignedlong test unsigned long
|
|---|
| 55 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 56 | -d, --double test double
|
|---|
| 57 | -h, --help print this help message
|
|---|
| 58 | Child status:
|
|---|
| 59 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 60 |
|
|---|
| 61 | Argument '4294967296' for option u could not be parsed
|
|---|
| 62 |
|
|---|
| 63 | Usage:
|
|---|
| 64 | parsenums [OPTIONS]...
|
|---|
| 65 | testing bool parameters
|
|---|
| 66 | -i, --int test int
|
|---|
| 67 | -u, --unsigned test unsigned
|
|---|
| 68 | -l, --unsignedlong test unsigned long
|
|---|
| 69 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 70 | -d, --double test double
|
|---|
| 71 | -h, --help print this help message
|
|---|
| 72 | Child status:
|
|---|
| 73 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 74 |
|
|---|
| 75 | Argument '18446744073709551616' for option l could not be parsed
|
|---|
| 76 |
|
|---|
| 77 | Usage:
|
|---|
| 78 | parsenums [OPTIONS]...
|
|---|
| 79 | testing bool parameters
|
|---|
| 80 | -i, --int test int
|
|---|
| 81 | -u, --unsigned test unsigned
|
|---|
| 82 | -l, --unsignedlong test unsigned long
|
|---|
| 83 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 84 | -d, --double test double
|
|---|
| 85 | -h, --help print this help message
|
|---|
| 86 | Child status:
|
|---|
| 87 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 88 |
|
|---|
| 89 | Argument '18446744073709551616' for option L could not be parsed
|
|---|
| 90 |
|
|---|
| 91 | Usage:
|
|---|
| 92 | parsenums [OPTIONS]...
|
|---|
| 93 | testing bool parameters
|
|---|
| 94 | -i, --int test int
|
|---|
| 95 | -u, --unsigned test unsigned
|
|---|
| 96 | -l, --unsignedlong test unsigned long
|
|---|
| 97 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 98 | -d, --double test double
|
|---|
| 99 | -h, --help print this help message
|
|---|
| 100 | Child status:
|
|---|
| 101 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 102 |
|
|---|
| 103 | negative errors arg:
|
|---|
| 104 | Argument '-1' for option u could not be parsed
|
|---|
| 105 |
|
|---|
| 106 | Usage:
|
|---|
| 107 | parsenums [OPTIONS]...
|
|---|
| 108 | testing bool parameters
|
|---|
| 109 | -i, --int test int
|
|---|
| 110 | -u, --unsigned test unsigned
|
|---|
| 111 | -l, --unsignedlong test unsigned long
|
|---|
| 112 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 113 | -d, --double test double
|
|---|
| 114 | -h, --help print this help message
|
|---|
| 115 | Child status:
|
|---|
| 116 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 117 |
|
|---|
| 118 | Argument '-1' for option l could not be parsed
|
|---|
| 119 |
|
|---|
| 120 | Usage:
|
|---|
| 121 | parsenums [OPTIONS]...
|
|---|
| 122 | testing bool parameters
|
|---|
| 123 | -i, --int test int
|
|---|
| 124 | -u, --unsigned test unsigned
|
|---|
| 125 | -l, --unsignedlong test unsigned long
|
|---|
| 126 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 127 | -d, --double test double
|
|---|
| 128 | -h, --help print this help message
|
|---|
| 129 | Child status:
|
|---|
| 130 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 131 |
|
|---|
| 132 | Argument '-1' for option L could not be parsed
|
|---|
| 133 |
|
|---|
| 134 | Usage:
|
|---|
| 135 | parsenums [OPTIONS]...
|
|---|
| 136 | testing bool parameters
|
|---|
| 137 | -i, --int test int
|
|---|
| 138 | -u, --unsigned test unsigned
|
|---|
| 139 | -l, --unsignedlong test unsigned long
|
|---|
| 140 | -L, --unsignedlonglong test unsigned long long
|
|---|
| 141 | -d, --double test double
|
|---|
| 142 | -h, --help print this help message
|
|---|
| 143 | Child status:
|
|---|
| 144 | IFEXITED : 1, EXITSTATUS : 1, IFSIGNALED : 0, TERMSIG : 0, COREDUMP : 0, IFSTOPPED : 0, STOPSIG : 1, IFCONTINUED: 0
|
|---|
| 145 |
|
|---|
| 146 | All Done!
|
|---|