From 4f7541b1fdbe43f47adf5b0d921ed8a6aab0a10e Mon Sep 17 00:00:00 2001 From: Thomas Levine <_@thomaslevine.com> Date: Thu, 31 Mar 2016 19:56:12 +0000 Subject: [PATCH] change flag name --- tests/File discovery/Really ignore other files. (2) | 2 +- tests/Flags/Urchin format with --color | 2 +- urchin | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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;;