busybox/shell/hush_test/hush-getopts/getopt_silent.right
Denys Vlasenko 419db0391e hush: implement "silent" optstrings of ":opts"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2017-08-11 17:21:14 +02:00

7 lines
205 B
Plaintext

*** optstring:':ac' args:-a -b -c
1 rc:0 var:'a' OPTIND:2 OPTARG:''
2 rc:0 var:'?' OPTIND:3 OPTARG:'b'
3 rc:0 var:'c' OPTIND:4 OPTARG:''
4 rc:1 var:'?' OPTIND:4 OPTARG:''
5 rc:1 var:'?' OPTIND:4 OPTARG:''