change flag name

This commit is contained in:
Thomas Levine 2016-03-31 19:56:12 +00:00
parent 5b2ab72ee1
commit 4f7541b1fd
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
! $TEST_SHELL ../../urchin ../Flags/Urchin\ format|grep -- --color ! $TEST_SHELL ../../urchin ../Flags/Urchin\ format|grep -- --pretty

View File

@ -1,3 +1,3 @@
$TEST_SHELL ../../urchin --color -vv --shell sh .testsuite/ | $TEST_SHELL ../../urchin --pretty -vv --shell sh .testsuite/ |
sed -e 1d -e 's/. seconds\?/1 second/' > $tmp sed -e 1d -e 's/. seconds\?/1 second/' > $tmp
diff $tmp .urchin-output-expectation-color diff $tmp .urchin-output-expectation-color

4
urchin
View File

@ -461,7 +461,7 @@ These options affect how results are formatted. Options -q, and -v
have no effect when combined with --tap. -vv, -vvv, and -vvvv do have have no effect when combined with --tap. -vv, -vvv, and -vvvv do have
effect when combined with --tap. effect when combined with --tap.
-c, --color Print results in color. -p, --pretty Print results in color and with fancy symbols.
-t, --tap Format output in Test Anything Protocol (TAP) -t, --tap Format output in Test Anything Protocol (TAP)
-q, --quiet Print nothing to stdout; -q, --quiet Print nothing to stdout;
@ -545,7 +545,7 @@ main() {
-n|--disable-cycling) cycle_shell=false;; -n|--disable-cycling) cycle_shell=false;;
-t|--tap) tap_format=true;; -t|--tap) tap_format=true;;
-T|--timeout) shift; urchin_timeout="${1}" ;; -T|--timeout) shift; urchin_timeout="${1}" ;;
-c|--color) print_in_color=true;; -p|--pretty) print_in_color=true;;
-q|--quiet) print_not_ok=false -q|--quiet) print_not_ok=false
print_margins=false;; print_margins=false;;