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

Make pretty() the default in the shell

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: Shell

      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 :-^

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: