]> 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>
Thu, 12 May 2022 14:29:08 +0000 (09:29 -0500)
commitbc45a277d90eeead1e1c23560bfcdddddde24a8b
tree5b14a8597f72e6105fe5fa55c4eb489220397f5f
parent6551f450487afe6c3f7bdd7a7c9c891e447045ed
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>
(cherry picked from commit 9fecbaf40c7e68f3eeefb0d90c7296c08c28ef2a)
src/ceph.in