Commit 171c434e authored by chenhaowen's avatar chenhaowen

fix: log-file short option -l

parent c71eadbb
...@@ -38,7 +38,7 @@ int main(int argc, char *argv[]) ...@@ -38,7 +38,7 @@ int main(int argc, char *argv[])
{"enable-crypt", no_argument, 0, 3}, {"enable-crypt", no_argument, 0, 3},
{0, 0, 0, 0}, {0, 0, 0, 0},
}; };
opt = getopt_long(argc, argv, "hc:v", long_options, &option_index); opt = getopt_long(argc, argv, "hc:l:v", long_options, &option_index);
if (opt == -1) if (opt == -1)
{ {
break; break;
......
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