]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd: ensure the help printer doesn't print past the end of the line
authorJason Dillaman <dillaman@redhat.com>
Wed, 21 Oct 2020 19:15:09 +0000 (15:15 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 13 Feb 2022 17:05:59 +0000 (18:05 +0100)
commit6a80eb5cf7f76e2adabe2d41ab3237c4003791d0
tree2978b6b97dc5567038244c9eed70f108fba0d1de
parent91f471b19a8436443eb4f75ebb3d4414ee623c6e
rbd: ensure the help printer doesn't print past the end of the line

When long command names and long optional names are combined,
it's possible for the help text to be printed beyond the 80
character limit.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 51478deab22178d01db7fa8632ba72071b4dfc38)
src/test/cli/rbd/help.t
src/tools/rbd/OptionPrinter.cc