diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-05-20 13:25:54 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-05-20 15:16:25 +0200 |
commit | dc8df962d8f0d93595a4e036bb29bc3498abc35f (patch) | |
tree | dc0d45d7fe2d1e1a29b1b5d84e9e5c73ce72d51a /manual/cli.rst | |
parent | 907df2c823710319e53c0ba6583a1ede4ee5413d (diff) | |
download | qpdf-dc8df962d8f0d93595a4e036bb29bc3498abc35f.tar.zst |
Make version default to latest for --json-output (like --json)
Diffstat (limited to 'manual/cli.rst')
-rw-r--r-- | manual/cli.rst | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/manual/cli.rst b/manual/cli.rst index 6cfae38b..2bc829df 100644 --- a/manual/cli.rst +++ b/manual/cli.rst @@ -3158,8 +3158,8 @@ Related Options Generate a JSON representation of the file. This is described in depth in the JSON section of the manual. "version" may be a - specific version or "latest". Run qpdf --json-help for a - description of the generated JSON object. + specific version or "latest" (the default). Run qpdf --json-help + for a description of the generated JSON object. Generate a JSON representation of the file. This is described in depth in :ref:`json`. The version parameter can be used to specify @@ -3258,17 +3258,19 @@ Related Options data for the stream stream in object :samp:`{nnn}`. This option only applies when used with :qpdf:ref:`--json-output`. -.. qpdf:option:: --json-output=version +.. qpdf:option:: --json-output[=version] .. help: serialize to JSON The output file will be qpdf JSON format at the given version. - Only version 2 is supported. See also --json-stream-data - and --json-stream-prefix - - The output file will be qpdf JSON format at the given version. Only - version 2 is supported. See also :qpdf:ref:`--json-stream-data` and - :qpdf:ref:`--json-stream-prefix`. + "version" may be a specific version or "latest" (the default). + Version 1 is not supported. See also --json-stream-data + and --json-stream-prefix. + + The output file will be qpdf JSON format at the given version. + ``version`` may be a specific version or ``latest`` (the default). + Version 1 is not supported. See also :qpdf:ref:`--json-stream-data` + and :qpdf:ref:`--json-stream-prefix`. .. qpdf:option:: --json-input |