Commit 9b500ee9 authored by Razvan Becheriu's avatar Razvan Becheriu

[#892] fixed command line parameters

parent e8230546
...@@ -80,7 +80,7 @@ main(int argc, char* argv[]) { ...@@ -80,7 +80,7 @@ main(int argc, char* argv[]) {
// The standard config file // The standard config file
std::string config_file(""); std::string config_file("");
while ((ch = getopt(argc, argv, "dvVWc:p:P:t:")) != -1) { while ((ch = getopt(argc, argv, "dvVWc:p:P:N:t:")) != -1) {
switch (ch) { switch (ch) {
case 'd': case 'd':
verbose_mode = true; verbose_mode = true;
......
...@@ -80,7 +80,7 @@ main(int argc, char* argv[]) { ...@@ -80,7 +80,7 @@ main(int argc, char* argv[]) {
// The standard config file // The standard config file
std::string config_file(""); std::string config_file("");
while ((ch = getopt(argc, argv, "dvVWc:p:P:t:")) != -1) { while ((ch = getopt(argc, argv, "dvVWc:p:P:N:t:")) != -1) {
switch (ch) { switch (ch) {
case 'd': case 'd':
verbose_mode = true; verbose_mode = true;
......
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