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

cbq-shell: Echo the password input prompt to STDERR when STDOUT is not a terminal

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Done
    • Trivial
    • Morpheus
    • Morpheus
    • query
    • None
    • 0

    Description

      The request is to have cbq-shell notify the user that it is waiting for a password when then user has redirected output to a file.

      We should respect shell redirection (it is after all what the user has specified) so echoing to STDERR is a middle ground alerting users not using the provided output options whilst still permitting redirection to eliminate terminal output (just have to redirect STDERR too).

      Attachments

        For Gerrit Dashboard: MB-62716
        # Subject Branch Project Status CR V

        Activity

          People

            pierre.regazzoni Pierre Regazzoni
            Donald.haggart Donald Haggart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty