Ticket #5672 defect closed invalid
Order of command line arguments?
| Reported by: | jlindenbaum | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | Branch: | ||
| Author: | Launchpad Bug: |
Description
I just discovered an, in my mind, oddity with regards to the order of command line arguments in twistd.
Running the following yields an error "Unrecognized option --pidfile". The usage hints that are printed also do not show --pidfile as a valid option.
twistd -r epoll web --class=pyapns.server.APNSServer --port=7077 --pidfile=/tmp/twistd_mascot.pid
But, running the following works as expected, with a pid file in /tmp
twistd --pidfile=/tmp/twistd_mascot.pid -r epoll web --class=pyapns.server.APNSServer --port=7077
Did I misread something in the documentation? Is there really an important order of command line arguments to start twistd?
Misc. Details: - Ubuntu 11.04 - Twistd 12.0.0 - Python 2.7
Regards,
Change History
Note: See
TracTickets for help on using
tickets.
