diff --git a/tests/File discovery/Really ignore other files. (2) b/tests/File discovery/Really ignore other files. (2) index 2845ee2..9b9f16c 100755 --- a/tests/File discovery/Really ignore other files. (2) +++ b/tests/File discovery/Really ignore other files. (2) @@ -1 +1 @@ -! $TEST_SHELL ../../urchin ../Flags/Urchin\ format|grep -- --color +! $TEST_SHELL ../../urchin ../Flags/Urchin\ format|grep -- --pretty diff --git a/tests/Flags/Urchin format with --color b/tests/Flags/Urchin format with --color index 9978a7e..1f2a119 100755 --- a/tests/Flags/Urchin format with --color +++ b/tests/Flags/Urchin format with --color @@ -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 diff $tmp .urchin-output-expectation-color diff --git a/urchin b/urchin index bf401dc..7fe04d2 100755 --- a/urchin +++ b/urchin @@ -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 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) -q, --quiet Print nothing to stdout; @@ -545,7 +545,7 @@ main() { -n|--disable-cycling) cycle_shell=false;; -t|--tap) tap_format=true;; -T|--timeout) shift; urchin_timeout="${1}" ;; - -c|--color) print_in_color=true;; + -p|--pretty) print_in_color=true;; -q|--quiet) print_not_ok=false print_margins=false;;