From 2acc028a7bc1bf0020da1e86ba8bc78ec0ae2eb2 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 20 Mar 2020 16:31:28 -0400 Subject: parse: Prettify some of the option-specific help --- tests.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests.sh') diff --git a/tests.sh b/tests.sh index 6ebdc50..711bbb6 100755 --- a/tests.sh +++ b/tests.sh @@ -2560,7 +2560,12 @@ function test_L_xattr() { } function test_help() { - ! invoke_bfs -help | grep -E '\{...?\}' + invoke_bfs -help | grep -E '\{...?\}' && return 1 + invoke_bfs -D help | grep -E '\{...?\}' && return 1 + invoke_bfs -S help | grep -E '\{...?\}' && return 1 + invoke_bfs -regextype help | grep -E '\{...?\}' && return 1 + + return 0 } -- cgit v1.2.3