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

mongosh command line option "--buildInfo" and database command "buildInfo()" has no Help text

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.10.1
    • Component/s: Help
    • Environment:
      OS:
      node.js / npm versions:
      Additional info:
    • 2

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      buildInfo is important and useful feature to help users know which mongosh variant is being run or installed. There are many mongosh variants, and it's easy to install a non-intended mongosh. A mongosh may run, but that's not enough to know if the proper one was installed. buildInfo feature helps to identify itself.

      "--buildInfo option" command-line option and "buildInfo()" command are missing from Help function.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      Both commands work but its existence is not described in Help functionality.

      Type "mongosh --buildInfo" from the command-line.

      or "buildInfo()" when logged into a mongod.

      See attachments

      Expected Results

      What do you expect to happen?

      See --buildInfo and buildInfo() listed and described as available features

      Actual Results

      What do you observe is happening?

      Nary a mention

      Additional Notes

      Any additional information that may be useful to include.

        1. buildInfo_cmdLineOption.txt
          5 kB
          Felicia Hsieh
        2. buildInfo_cmd.txt
          3 kB
          Felicia Hsieh

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: