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

mongod --fork should print options on invalid command line

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Usability
    • None
    • Service Arch
    • ALL

      2.6.3
      $ mongod foo --syslog --fork
      about to fork child process, waiting until server is ready for connections.
      forked process: 43462
      ERROR: child process failed, exited with error number 1
      

      This is a regression from 2.4:

      2.4.9
      $ mongod foo --syslog --fork
      Invalid command: foo
      Allowed options:
      
      General options:
      [options are printed]
      

      This doesn't happen without --fork

            Assignee:
            backlog-server-servicearch [DO NOT USE] Backlog - Service Architecture
            Reporter:
            alex.komyagin@mongodb.com Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: