[sr-dev] git:master: core: main - proper info for -D command line option

Daniel-Constantin Mierla miconda at gmail.com
Mon Aug 25 16:56:55 CEST 2014


Module: sip-router
Branch: master
Commit: 2b33768745130b91e984b679f9eed01a6267d8cc
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2b33768745130b91e984b679f9eed01a6267d8cc

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date:   Mon Aug 25 16:55:27 2014 +0200

core: main - proper info for -D command line option

---

 main.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/main.c b/main.c
index 5f54821..bed6ccc 100644
--- a/main.c
+++ b/main.c
@@ -228,8 +228,10 @@ Options:\n\
                   (to use both use `-rR`)\n\
     -K           Turn on \"via:\" host checking when forwarding replies\n\
     -d           Debugging mode (multiple -d increase the level)\n\
-    -D no        1..do not fork (almost) anyway, 2..do not daemonize creator\n\
-                  3..daemonize (default)\n\
+    -D           Control how daemonize is done:\n\
+                  -D..do not fork (almost) anyway;\n\
+                  -DD..do not daemonize creator;\n\
+                  -DDD..daemonize (default)\n\
     -E           Log to stderr\n\
     -e           Log messages printed in terminal colors (requires -E)\n"
 #ifdef USE_TCP




More information about the sr-dev mailing list