update use of chkentry to use new arg order

The `chkentry(1)` tool was changed so that the `.auth.json`
arg comes before the `.info.json` arg.  These changes are
needed to accommodate and document that change.

Also the use of the single arg as a directory was
removed from documentation (until issue #940 is addressed).
This commit is contained in:
Landon Curt Noll committed 2025-01-18 12:23:38 -08:00
1 parent fcc7ac5d04
commit fa6458fd40
4 files changed
+21 -29

No files matched your search

+6 -10
View File
@@ -1494,20 +1494,16 @@ and
FAQ on “<a href="#info_json">.info.json</a>”
for more details on these files.</p>
<p>The <code>chkentry(1)</code> tool accepts more than one command line form.
If you pass a single argument, it is expected to be a directory that has both
<code>.auth.json</code> and <code>.info.json</code> in it. You can also specify a <code>.auth.json</code> and/or
You may specify a <code>.auth.json</code> and/or
<code>.info.json</code> file. An argument of “<code>.</code>” will skip that file. For instance:</p>
<pre><code> # test entry directory test_work:
chkentry test_work
# run checks on .info.json:
chkentry .info.json .
<pre><code> # 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</code></pre>
# run checks on .auth.json and .info.json:
chkentry .auth.json .info.json</code></pre>
<p>If there is a <a href="https://www.json.org/json-en.html">JSON</a> issue detected by the
<code>jparse(3)</code> API, then there is a <a href="https://www.json.org/json-en.html">JSON</a> error and
<code>chkentry(1)</code> will report it as an <strong>error</strong>. If the parsing is OK (i.e. valid