]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph.in: clarify the usage of `--format` in the ceph command
authorLaura Flores <lflores@redhat.com>
Wed, 6 Apr 2022 15:22:30 +0000 (15:22 +0000)
committerLaura Flores <lflores@redhat.com>
Wed, 6 Apr 2022 16:56:36 +0000 (11:56 -0500)
commit9fecbaf40c7e68f3eeefb0d90c7296c08c28ef2a
treef854d1c11ff857eaf8726402469b6bbcbd64ffae
parentb6259eea0595ad53b3fe585d12bc5904a778449d
ceph.in: clarify the usage of `--format` in the ceph command

It is not clear to users in the output of `ceph --help` that
the yaml formatter option is only valid for orch commands.

Before:
-f {json,json-pretty,xml,xml-pretty,plain,yaml}, --format {json,json-pretty,xml,xml-pretty,plain,yaml}

After:
-f {json,json-pretty,xml,xml-pretty,plain,yaml}, --format {json,json-pretty,xml,xml-pretty,plain,yaml}
                        Note: yaml is only valid for orch commands

Fixes: https://tracker.ceph.com/issues/53895
Signed-off-by: Laura Flores <lflores@redhat.com>
src/ceph.in