hush: teach getopts to set/unset OPTARG
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 11 Aug 2017 00:05:21 +0000 (02:05 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 11 Aug 2017 00:05:21 +0000 (02:05 +0200)
commit81f962f3df0d7194b7a52c6f83259727759094c4
tree906d5d55118f0a7c96579c7d12c62b3a14311a7a
parent74d40589288890fffea437ed2f38ad1f2dc740e5
hush: teach getopts to set/unset OPTARG

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash_test/ash-getopts/getopt_optarg.right [new file with mode: 0644]
shell/ash_test/ash-getopts/getopt_optarg.tests [new file with mode: 0755]
shell/hush.c
shell/hush_test/hush-getopts/getopt_optarg.right [new file with mode: 0644]
shell/hush_test/hush-getopts/getopt_optarg.tests [new file with mode: 0755]
shell/hush_test/hush-getopts/getopt_positional.tests