[sr-dev] git:master:94a51c88: core: main.c - show examples for use of -A for defines with values

Daniel-Constantin Mierla miconda at gmail.com
Mon May 13 09:30:50 CEST 2019


Module: kamailio
Branch: master
Commit: 94a51c887efaac2f85932922baf8e261abb8247c
URL: https://github.com/kamailio/kamailio/commit/94a51c887efaac2f85932922baf8e261abb8247c

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-05-13T09:29:55+02:00

core: main.c - show examples for use of -A for defines with values

---

Modified: src/main.c

---

Diff:  https://github.com/kamailio/kamailio/commit/94a51c887efaac2f85932922baf8e261abb8247c.diff
Patch: https://github.com/kamailio/kamailio/commit/94a51c887efaac2f85932922baf8e261abb8247c.patch

---

diff --git a/src/main.c b/src/main.c
index 6d6d390306..a97fb6dba0 100644
--- a/src/main.c
+++ b/src/main.c
@@ -157,7 +157,8 @@ Options:\n\
                   disable with no or off\n\
     --alias=val  Add an alias, the value has to be '[proto:]hostname[:port]'\n\
                   (like for 'alias' global parameter)\n\
-    -A define    Add config pre-processor define (e.g., -A WITH_AUTH)\n\
+    -A define    Add config pre-processor define (e.g., -A WITH_AUTH,\n\
+                  -A 'FLT_ACC=1', -A 'DEFVAL=\"str-val\"')\n\
     -b nr        Maximum receive buffer size which will not be exceeded by\n\
                   auto-probing procedure even if  OS allows\n\
     -c           Check configuration file for syntax errors\n\




More information about the sr-dev mailing list