diff --git a/bin/cvt-submission.sh b/bin/cvt-submission.sh index 45008ddb8..1d28fa049 100755 --- a/bin/cvt-submission.sh +++ b/bin/cvt-submission.sh @@ -22,7 +22,7 @@ # # "Because sometimes even the IOCCC Judges need some help." :-) # -# Copyright (c) 2024 by Landon Curt Noll. All Rights Reserved. +# Copyright (c) 2024-2025 by Landon Curt Noll. All Rights Reserved. # # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose and without fee is hereby granted, @@ -106,7 +106,7 @@ shopt -s globstar # enable ** to match all files and zero or more directories an # set variables referenced in the usage message # -export VERSION="1.3.1 2024-11-16" +export VERSION="1.3.2 2025--1-18" NAME=$(basename "$0") export NAME export V_FLAG=0 @@ -1253,19 +1253,19 @@ fi # perform the semantic check on .info.json and .auth.json # if [[ $V_FLAG -ge 1 ]]; then - echo "$0: debug[1]: about to run: $CHKENTRY_TOOL -v 1 -- $INFO_JSON $AUTH_JSON" 1>&2 - "$CHKENTRY_TOOL" -v 1 -- "$INFO_JSON" "$AUTH_JSON" + echo "$0: debug[1]: about to run: $CHKENTRY_TOOL -v 1 -- $AUTH_JSON $INFO_JSON" 1>&2 + "$CHKENTRY_TOOL" -v 1 -- "$AUTH_JSON" "$INFO_JSON" status="$?" if [[ $status -ne 0 ]]; then - echo "$0: ERROR: $CHKENTRY_TOOL -v 1 -- $INFO_JSON $AUTH_JSON failed," \ + echo "$0: ERROR: $CHKENTRY_TOOL -v 1 -- $AUTH_JSON $INFO_JSON failed," \ "error code: $status" 1>&2 exit 7 fi else - "$CHKENTRY_TOOL" -- "$INFO_JSON" "$AUTH_JSON" + "$CHKENTRY_TOOL" -- "$AUTH_JSON" "$INFO_JSON" status="$?" if [[ $status -ne 0 ]]; then - echo "$0: $CHKENTRY_TOOL -- $INFO_JSON $AUTH_JSON failed," \ + echo "$0: $CHKENTRY_TOOL -- $AUTH_JSON $INFO_JSON failed," \ "error code: $status" 1>&2 exit 7 fi diff --git a/faq.html b/faq.html index 639d04483..a31b05aa3 100644 --- a/faq.html +++ b/faq.html @@ -1494,20 +1494,16 @@ and FAQ on “.info.json” for more details on these files.
The chkentry(1) tool accepts more than one command line form.
-If you pass a single argument, it is expected to be a directory that has both
-.auth.json and .info.json in it. You can also specify a .auth.json and/or
+You may specify a .auth.json and/or
.info.json file. An argument of “.” will skip that file. For instance:
# test entry directory test_work:
- chkentry test_work
-
- # run checks on .info.json:
- chkentry .info.json .
+ # run checks on .info.json:
+ chkentry . .info.json
# run checks on .auth.json:
- chkentry . .auth.json
+ chkentry .auth.json .
- # run checks on .info.json and .auth.json:
- chkentry .info.json .auth.json
+ # run checks on .auth.json and .info.json:
+ chkentry .auth.json .info.json
If there is a JSON issue detected by the
jparse(3) API, then there is a JSON error and
chkentry(1) will report it as an error. If the parsing is OK (i.e. valid
diff --git a/faq.md b/faq.md
index 88acd5704..14d96e603 100644
--- a/faq.md
+++ b/faq.md
@@ -1336,22 +1336,18 @@ FAQ on "[.info.json](#info_json)"
for more details on these files.
The `chkentry(1)` tool accepts more than one command line form.
-If you pass a single argument, it is expected to be a directory that has both
-`.auth.json` and `.info.json` in it. You can also specify a `.auth.json` and/or
+You may specify a `.auth.json` and/or
`.info.json` file. An argument of "`.`" will skip that file. For instance:
```
- # test entry directory test_work:
- chkentry test_work
-
# run checks on .info.json:
- chkentry .info.json .
+ chkentry . .info.json
# run checks on .auth.json:
- chkentry . .auth.json
+ chkentry .auth.json .
- # run checks on .info.json and .auth.json:
- chkentry .info.json .auth.json
+ # run checks on .auth.json and .info.json:
+ chkentry .auth.json .info.json
```
If there is a [JSON](https://www.json.org/json-en.html) issue detected by the
diff --git a/sitemap.xml b/sitemap.xml
index a65dfb7c6..30e8c635d 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -15210,7 +15210,7 @@