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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.7.5
    • Affects Version/s: 1.6.5
    • Component/s: Shell
    • None
    • Environment:
      ubuntu 10.10
    • ALL

      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.

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

              Created:
              Updated:
              Resolved: