Browse Source

gen-output-format-opts.pl: use correct argument syntax

stable-5
Dietmar Maurer 1 year ago
parent
commit
56cab8b063
2 changed files with 6 additions and 6 deletions
  1. 1
    1
      gen-output-format-opts.pl
  2. 5
    5
      output-format-opts.adoc

+ 1
- 1
gen-output-format-opts.pl View File

@@ -8,6 +8,6 @@ use PVE::RESTHandler;

my $prop = $PVE::RESTHandler::standard_output_options;

my $data = PVE::RESTHandler::dump_properties($prop, 'asciidoc', 'config');
my $data = PVE::RESTHandler::dump_properties($prop, 'asciidoc', 'arg');

print $data;

+ 5
- 5
output-format-opts.adoc View File

@@ -1,20 +1,20 @@
`human-readable`: `<boolean>` ('default =' `1`)::
`--human-readable` `<boolean>` ('default =' `1`)::

Call output rendering functions to produce human readable text.

`noborder`: `<boolean>` ('default =' `1`)::
`--noborder` `<boolean>` ('default =' `1`)::

Do not draw borders (for 'text' format).

`noheader`: `<boolean>` ('default =' `1`)::
`--noheader` `<boolean>` ('default =' `1`)::

Do not show column headers (for 'text' format).

`output-format`: `<json | json-pretty | text | yaml>` ('default =' `text`)::
`--output-format` `<json | json-pretty | text | yaml>` ('default =' `text`)::

Output format.

`quiet`: `<boolean>` ::
`--quiet` `<boolean>` ::

Suppress printing results.


Loading…
Cancel
Save