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

db.commandHelp should show an error if the command doesn't exists

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.7.5
    • 1.6.5
    • Shell
    • None
    • ubuntu 10.10
    • ALL

    Description

      When looking for help on a non existing command the shell doesn't through an error:
      db.commandHelp("something");
      I would expect an error:
      something is not a valid command.

      It could be cool if the shell will recursively drop letters and try to find something close and print: "did you mean blablabla?"
      but that just a crazy feature.

      Attachments

        Activity

          People

            eliot Eliot Horowitz (Inactive)
            pablo pablo platt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: