Add a “courtesy” log to mongorestore when reading from a terminal

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator
    • 327

      If mongorestore reads from a terminal, it’s highly likely that the user did something they didn’t mean to do.

      We should let them know that they’ve “taken a wrong turn”. Maybe:

      Reading from standard input, which is a terminal. This is unusual; did you mean to give a filename to the `--archive` parameter?

            Assignee:
            Unassigned
            Reporter:
            Felipe Gasper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: