Commits

Joseph Tate committed 800f6bf

Updates

Comments (0)

Files changed (1)

daemon_parse/cli.py

             default=os.getcwd())
     parser.add_option('--umask', dest='umask', default=0, type="int", metavar='MASK', help="Set the umask to MASK on daemon start.")
     parser.add_option('--pidfile', dest='pidfile', action='callback', callback=createpidlockfile, type='string', default=None, metavar='FILE', help="Create a PIDLockFile context manager for the specified file.")
-    parser.add_option('-d', '--detach', '--detach-process', dest='detach_process', default=True, help="Detach the process context. [default]")
-    parser.add_option('-n', '--no-detach', '--no-detach-process', dest='detach_process', action='store_false', help="Detach the process context.")
+    parser.add_option('-d', '--detach', '--detach-process', action="store_true", dest='detach_process', default=True, help="Detach the process context. [default]")
+    parser.add_option('-n', '--no-detach', '--no-detach-process', dest='detach_process', action='store_false', help="Do not detach the process context.")
     parser.add_option('--uid', '--user', '-u', dest='uid', type='string', metavar='UID', action='callback', default=os.getuid(), callback=lookupuid, help='The real user to run as.')
     parser.add_option('--gid', '--group', '-g', dest='gid', type='string', metavar='GID', action='callback', default=os.getgid(), callback=lookupgid, help='The real group to run as.')
     parser.add_option('--prevent-core', dest='prevent_core', default=True, action='store_true', help='Prevent the generation of core files.')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.