CR
[anna.git] / example / diameter / pcapDecoder / main.cpp
index 69c4f19..d3f6f4e 100644 (file)
@@ -349,14 +349,15 @@ int main(int argc, char **argv) {
   //check command line arguments
   if(argc < 3) {
     std::string msg = "Usage: "; msg += exec;
-    msg += " <stacks> <input file> [--no-validation] [--ignore-flags]\n\n";
+    msg += " <stacks> <input file> [--no-validation] [--ignore-flags] [--debug]\n\n";
     msg += "       stacks:                  <id1,dictionary1#id2,dictionary2#...#idN,dictionaryN>\n";
     msg += "                                This is a list of #-separated stacks defined by a comma-separated pair <application-id,xml dictionary pathfile>\n";
     msg += "                                If only one stack is provided, application-id could be omitted and then, all the messages will be decoded with the\n";
     msg += "                                dictionary regardless the value of the application-id (the stack will be registered with id=0).\n";
     msg += "       Input file:              normally a pcap file, but hexadecimal content (colons allowed) can also be decoded (use '.hex' extension).\n";
     msg += "       --no-validation:         no validation is performed.\n";
-    msg += "       --ignore-flags:          wrong flags regarding dictionary are ignored in xml representation.";
+    msg += "       --ignore-flags:          wrong flags regarding dictionary are ignored in xml representation.\n";
+    msg += "       --debug:                 activates debug level traces (warning by default).";
     _exit(msg);
   }