From faa1d2c5cb09be9ff5c65f97a8312834a78c762a Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 5 Feb 2022 23:01:31 -0500 Subject: py-compile: clean up usage info Include the full summary of options in the output. * lib/py-compile: Update usage output. * t/py-compile-usage.sh: Update test to match new output. --- t/py-compile-usage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 't') diff --git a/t/py-compile-usage.sh b/t/py-compile-usage.sh index 94c0c4c9d..f324ec9e6 100644 --- a/t/py-compile-usage.sh +++ b/t/py-compile-usage.sh @@ -29,8 +29,8 @@ cp "$am_scriptdir/py-compile" . \ cat stdout test -s stderr && { cat stderr >&2; exit 1; } grep '^Usage: py-compile .' stdout -$FGREP ' [--basedir DIR]' stdout -$FGREP ' [--destdir DIR]' stdout +$FGREP ' --basedir DIR ' stdout +$FGREP ' --destdir DIR ' stdout # --version -- cgit v1.2.1