aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-16 12:05:58 -0300
committerEuAndreh <eu@euandre.org>2020-08-16 12:05:58 -0300
commitf67abd3160d5e34aa97420c6f45fec195c4afff5 (patch)
treea499ace2608de6e0514e5226ee29791a6680d5df /scripts
parenta-propos.md: Ajouter remarque pour le langue de boneco (diff)
downloadeuandre.org-f67abd3160d5e34aa97420c6f45fec195c4afff5.tar.gz
euandre.org-f67abd3160d5e34aa97420c6f45fec195c4afff5.tar.xz
scripts/assert-content.sh: Add USAGE text
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/assert-content.sh12
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
}