From 95574e3f2a47291651f7c78c873318344565e80e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 18 Mar 2019 20:37:53 -0700 Subject: cmp/env/nice/nohup/sort: use TOYFLAG_ARGFAIL. Also be a bit more consistent about `COMMAND [ARG...]` in usage text. --- tests/sort.test | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/sort.test') diff --git a/tests/sort.test b/tests/sort.test index a40d1b0f..dd2b8263 100755 --- a/tests/sort.test +++ b/tests/sort.test @@ -7,6 +7,7 @@ # The basic tests. These should work even with the small config. +testing "unknown argument" 'sort --oops 2>/dev/null ; echo $?' "2\n" "" "" testing "sort" "sort input" "a\nb\nc\n" "c\na\nb\n" "" testing "#2" "sort input" "010\n1\n3\n" "3\n1\n010\n" "" testing "stdin" "sort" "a\nb\nc\n" "" "b\na\nc\n" -- cgit v1.2.3