diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-11 17:21:14 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-11 17:21:14 +0200 |
commit | 419db0391e47444dd12fb052613fd415694d04f0 (patch) | |
tree | 0b989526666cd6150b7bae6151f9273c4a5db487 /shell/hush_test/hush-getopts/getopt_silent.right | |
parent | 129e1ce72c28ec14aee459cceffc25ed9d5cae85 (diff) |
hush: implement "silent" optstrings of ":opts"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/hush_test/hush-getopts/getopt_silent.right')
-rw-r--r-- | shell/hush_test/hush-getopts/getopt_silent.right | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/shell/hush_test/hush-getopts/getopt_silent.right b/shell/hush_test/hush-getopts/getopt_silent.right new file mode 100644 index 000000000..03d4eb149 --- /dev/null +++ b/shell/hush_test/hush-getopts/getopt_silent.right @@ -0,0 +1,6 @@ +*** 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:'' |