From: Jan 'Moskyt' Matejka Date: Mon, 13 May 2013 16:15:27 +0000 (+0200) Subject: Opt: tests for OPT_MULTIPLE X-Git-Tag: v5.99~25^2~46 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=145e4424b956ee0a036c72609945a0867eaed7d6;p=libucw.git Opt: tests for OPT_MULTIPLE --- diff --git a/ucw/opt.t b/ucw/opt.t index 98cbb4bf..fb49cb43 100644 --- a/ucw/opt.t +++ b/ucw/opt.t @@ -23,3 +23,7 @@ Out: Multiple switches: -hRun with argument --help for more information. Name: Opt-6 Run: ../obj/ucw/opt-t -t120F -w4 -b15 -he -- --puerh darjeeling earl-gray Out: English style: yes|Chosen teapot: hands|Temperature: 120F|Verbosity: 1|Black magic: 15|Prayer: no|Water amount: 4|Gas: no|First tea: --puerh|Boiling a tea: darjeeling|Boiling a tea: earl-gray|Everything OK. Bye. + +Name: Opt-7 +Run: ../obj/ucw/opt-t -t120F -w4 -b15 -b54 -he -- --puerh darjeeling earl-gray +Out: English style: yes|Chosen teapot: hands|Temperature: 120F|Verbosity: 1|Black magic: 15|Black magic: 54|Prayer: no|Water amount: 4|Gas: no|First tea: --puerh|Boiling a tea: darjeeling|Boiling a tea: earl-gray|Everything OK. Bye.