From f67abd3160d5e34aa97420c6f45fec195c4afff5 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 16 Aug 2020 12:05:58 -0300 Subject: scripts/assert-content.sh: Add USAGE text --- scripts/assert-content.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts/assert-content.sh') diff --git a/scripts/assert-content.sh b/scripts/assert-content.sh index eeca684..ee028a6 100755 --- a/scripts/assert-content.sh +++ b/scripts/assert-content.sh @@ -8,6 +8,18 @@ red() { echo -e "${red}${1}${end}"; } JSON="${1:-}" [[ -z "${JSON}" ]] && { red 'Missing input JSON file.' + cat < + + Arguments + SITE_JSON_PATH Path to the site.json file which contains data and metadata about pages of the site. + +Examples: + $0 _site/site.json + $0 result/site.json + $0 \$(nix-build -A subtasks.docs)/site.json +EOF exit 2 } -- cgit v1.2.3