summaryrefslogtreecommitdiff
path: root/shell/ash_test/ash-getopts/getopt_optarg.right
blob: dff28de57dca0398a6ab683c7e54f812a67e7316 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
*** no OPTIND, optstring:'w:et' args:-q -w e -r -t -y
Illegal option -q
var:'?' OPTIND:2 OPTARG:''
var:'w' OPTIND:4 OPTARG:'e'
Illegal option -r
var:'?' OPTIND:5 OPTARG:''
var:'t' OPTIND:6 OPTARG:''
Illegal option -y
var:'?' OPTIND:7 OPTARG:''
exited: var:'?' OPTIND:7 OPTARG:''
*** OPTIND=0, optstring:'w:et' args:-w 1 -w2 -w -e -e -t -t
var:'w' OPTIND:3 OPTARG:'1'
var:'w' OPTIND:4 OPTARG:'2'
var:'w' OPTIND:6 OPTARG:'-e'
var:'e' OPTIND:7 OPTARG:''
var:'t' OPTIND:8 OPTARG:''
var:'t' OPTIND:9 OPTARG:''
exited: var:'?' OPTIND:9 OPTARG:''