mongod --fork should print options on invalid command line

XMLWordPrintableJSON

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

      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:
            [DO NOT USE] Backlog - Service Architecture
            Reporter:
            Alexander Komyagin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: