diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:18:14 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:18:14 +0100 |
commit | 8ac05f82a263364310dc9d8bfd734c478c03fbdd (patch) | |
tree | a9254f40733a0b932f52d463cfd49c8a43946e19 /tests/misc/comm | |
parent | 101d1203c667ec3ab54a026dde43117563d4e944 (diff) | |
download | coreutils-8ac05f82a263364310dc9d8bfd734c478c03fbdd.tar.xz |
maint: update quoting of "Try `prog --help'" to "Try 'prog --help'"
Automatically adjust both the source (now in only one place)
and all tests that expect the resulting output via this:
git grep -l 'Try.*--help' src/system.h tests \
| xargs perl -pi -e 's/Try \\?`(\S+ --help)/Try '\''$1/'
Diffstat (limited to 'tests/misc/comm')
-rwxr-xr-x | tests/misc/comm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/comm b/tests/misc/comm index ed567403e..c727f80fc 100755 --- a/tests/misc/comm +++ b/tests/misc/comm @@ -58,17 +58,17 @@ my @Tests = # invalid missing command line argument (1) ['missing-arg1', $inputs[0], {EXIT=>1}, {ERR => "$prog: missing operand after `a'\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], # invalid missing command line argument (both) ['missing-arg2', {EXIT=>1}, {ERR => "$prog: missing operand\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], # invalid extra command line argument ['extra-arg', @inputs, 'no-such', {EXIT=>1}, {ERR => "$prog: extra operand `no-such'\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], # out-of-order input ['ooo', {IN=>{a=>"1\n3"}}, {IN=>{b=>"3\n2"}}, {EXIT=>1}, |