Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-58670

[cbflag] --help output is truncated if terminal size is small

    XMLWordPrintable

Details

    • Untriaged
    • 0
    • No

    Description

      What is the problem?
      Blair Watt noticed when running cbbackupmgr --help using the latest docker image the output was truncated (see screenshot). Looking through the code cbbackupmgr does not actually handle this, it is handled by cbflag.

      I was able to reproduce this. However, if I installed less the output is paged. My hunch is that because we are running man from another program (cbbackupmgr) more is not realising it can control the terminal/read stdin or something. It's not clear if this is something that we could fix.

      Is there a workaround?
      Yes, install less

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            owend Daniel Owen
            Matt.Hall Matt Hall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty