Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-4391

--eval should be affected by the --quiet switch

      when using the shell, the --quiet parameter does suppress the output from the --eval command

      For example:

      $ mongo <server>/db script.js --eval 'yyyymm="2011-11"'
      MongoDB shell version: 2.0.1
      connecting to: <server>/test
      2011-11

      Now with the --quiet parameter, the banner is suppressed, but eval seems to be adding output to stdout.

      $ mongo <server>/db script.js --eval 'yyyymm="2011-11"' --quiet
      2011-11

      It'd be an improvement if the results of the --eval commend respected the --quiet flag.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            pdwalker Paul D. Walker
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: