From 06cac26f0d8895b5cb8fbe03ca96444dc4ac8d51 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 3 Sep 2013 15:33:33 +0200 Subject: [PATCH] Opt: Earl Grey was not an American :) --- ucw/opt.t | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ucw/opt.t b/ucw/opt.t index d44ab866..d59b8505 100644 --- a/ucw/opt.t +++ b/ucw/opt.t @@ -13,20 +13,20 @@ Run: ../obj/ucw/opt-test -vvqvqvhpe -t120F -w4 darjeeling Out: English style: yes|Chosen teapot: hands|Temperature: 120F|Verbosity: 3|Prayer: yes|Water amount: 4|Gas: no|First tea: darjeeling|Everything OK. Bye. Name: Opt-4 -Run: ../obj/ucw/opt-test -t120F -w4 puerh darjeeling earl-gray -Out: English style: no|Temperature: 120F|Verbosity: 1|Prayer: no|Water amount: 4|Gas: no|First tea: puerh|Boiling a tea: darjeeling|Boiling a tea: earl-gray|Everything OK. Bye. +Run: ../obj/ucw/opt-test -t120F -w4 puerh darjeeling earl-grey +Out: English style: no|Temperature: 120F|Verbosity: 1|Prayer: no|Water amount: 4|Gas: no|First tea: puerh|Boiling a tea: darjeeling|Boiling a tea: earl-grey|Everything OK. Bye. Name: Opt-5 Run: ( ../obj/ucw/opt-test -ghx 2>&1 1>/dev/null || [ $? -eq "2" ] ) | tr -d '\n' Out: Multiple switches: -hRun with argument --help for more information. Name: Opt-6 -Run: ../obj/ucw/opt-test -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. +Run: ../obj/ucw/opt-test -t120F -w4 -b15 -he -- --puerh darjeeling earl-grey +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-grey|Everything OK. Bye. Name: Opt-7 -Run: ../obj/ucw/opt-test -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. +Run: ../obj/ucw/opt-test -t120F -w4 -b15 -b54 -he -- --puerh darjeeling earl-grey +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-grey|Everything OK. Bye. Name: Opt-Conf-1 Run: ( ../obj/ucw/opt-test -h --dumpconfig 2>&1 1>/dev/null || [ $? -eq "2" ] ) | tr -d '\n' -- 2.39.2