diff options
author | EuAndreh <eu@euandre.org> | 2020-08-16 12:05:58 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-16 12:05:58 -0300 |
commit | f67abd3160d5e34aa97420c6f45fec195c4afff5 (patch) | |
tree | a499ace2608de6e0514e5226ee29791a6680d5df /scripts | |
parent | a-propos.md: Ajouter remarque pour le langue de boneco (diff) | |
download | euandre.org-f67abd3160d5e34aa97420c6f45fec195c4afff5.tar.gz euandre.org-f67abd3160d5e34aa97420c6f45fec195c4afff5.tar.xz |
scripts/assert-content.sh: Add USAGE text
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/assert-content.sh | 12 |
1 files changed, 12 insertions, 0 deletions
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 <<EOF +Usage: + $0 <SITE_JSON_PATH> + + 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 } |