Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-581

Add support for --quiet

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.10.0, 0.12.1
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • Labels:
      None
    • 3
    • Needed
    • Hide

      --verbose works slightly differently from how it worked in mongo: according to the docs, in mongo verbose means: Increases the verbosity of the output of the shell during the connection process.

      In mongosh we show any debug message from the driver, not just during connection but also whenever a command is executed.

      Show
      --verbose works slightly differently from how it worked in mongo : according to the docs, in mongo verbose means: Increases the verbosity of the output of the shell during the connection process. In mongosh we show any debug message from the driver, not just during connection but also whenever a command is executed.
    • Iteration Xylocarpus Granatum

      mongosh happily accepts the --quiet parameter but it seems to do nothing with it.

      The behavior of mongo --quiet is to skip any sort of output (welcome messages, startup warnings, etc.) and go straight to the prompt.

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: