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

Make pretty() the default in the shell

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Trivial - P5
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Shell
    • Labels:

      Description

      It seems like pretty() should be the default in the shell. New users will not immediately know about this command. It will probably take them even longer to figure out that you can add the following to your $HOME/.mongorc.js file:

      DBQuery.prototype._prettyShell = true

      Perhaps you can add an _uglyShell or _compactShell field for people who prefer the compact mode :-^

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: