From 8970b45c8ff84a88ca297bf4e1103f22435f00e8 Mon Sep 17 00:00:00 2001 From: Bob Badour Date: Wed, 24 Jun 2020 07:45:20 -0700 Subject: [PATCH] Minor tweaks to usage message. Fix typo in tab separator example. Add missing usage message to usage error. Test: manually Change-Id: I1d3a01fcb7caffeb39d6e47ddfe665059b2860f5 --- scripts/transitive-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/transitive-deps.sh b/scripts/transitive-deps.sh index c6f8b76e4..ba36ba4bf 100755 --- a/scripts/transitive-deps.sh +++ b/scripts/transitive-deps.sh @@ -56,7 +56,7 @@ Output Options: temporary / intermediate files. -sep= Use 'delim' as output field separator between notice checksum and notice filename in notice output. - e.g. sep='\t' + e.g. sep='\\t' (Default space) -csv Shorthand for -sep=',' -directories= Output directory names of dependencies to 'f'. @@ -280,7 +280,7 @@ while [ $# -gt 0 ]; do notices=) notices_out=$(expr "${flag}" : '^.*=\(.*\)$');; *) - die "Unknown flag ${1}";; + die "${usage}\n\nUnknown flag ${1}";; esac ;; *)