Commit 8933a759 authored by chenhaowen's avatar chenhaowen

add: option of log file path

parent 1f40a557
...@@ -117,6 +117,7 @@ static void print_help(char *name) ...@@ -117,6 +117,7 @@ static void print_help(char *name)
" default as 00.\n"); " default as 00.\n");
fprintf(stdout, " [--enable-crypt] Enable crypt of keep alive1 packet2\n"); fprintf(stdout, " [--enable-crypt] Enable crypt of keep alive1 packet2\n");
fprintf(stdout, " [-c, --config-file <file>] The path to config file.\n"); fprintf(stdout, " [-c, --config-file <file>] The path to config file.\n");
fprintf(stdout, " [-l, --log-file <file>] The path to log file, default as stdout.\n");
fprintf(stdout, " [-h, --help] Print this message.\n"); fprintf(stdout, " [-h, --help] Print this message.\n");
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment