From 323303daba942fe71c0ec4b5f896c0b6d9b9f698 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Mon, 28 Dec 2020 06:23:09 -0800 Subject: [PATCH] ;cli: another fix for 4330427f --- hledger/test/cli/cli.test | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hledger/test/cli/cli.test b/hledger/test/cli/cli.test index babbc6e73..42ecd4a1f 100644 --- a/hledger/test/cli/cli.test +++ b/hledger/test/cli/cli.test @@ -97,13 +97,13 @@ hledger -h --version -f /dev/null >>>2 >>>=0 -# 7. with -h before COMMAND, show general usage +# 7. with -h before a COMMAND, show command usage hledger -h balance --cost ->>> /^hledger \[CMD\]/ +>>> /balance \[OPTIONS\]/ >>>2 >>>=0 -# 8. with -h after command, show command usage +# 8. with -h after a command, show command usage hledger balance -h >>> /balance \[OPTIONS\]/ >>>2 @@ -118,8 +118,8 @@ hledger nosuchcommand # flag positions # 10. general flags can go before command -hledger -f /dev/null --alias somealiases --rules-file -h --help --version --debug 1 --daily register ->>> /^hledger \[CMD\]/ +hledger -f /dev/null --alias somealiases --rules-file --debug 1 --daily register +>>> >>>2 >>>=0