summaryrefslogtreecommitdiffstats
path: root/src/command_line_options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/command_line_options.cpp')
-rw-r--r--src/command_line_options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command_line_options.cpp b/src/command_line_options.cpp
index c698315..1cf1194 100644
--- a/src/command_line_options.cpp
+++ b/src/command_line_options.cpp
@@ -7,8 +7,8 @@ CommandLineOptions::CommandLineOptions(int argc, char * const argv[]) {
static const struct option longOptions[] = {
{"config", required_argument, NULL, 'c'},
{"default", required_argument, NULL, 'd'},
+ {"env", required_argument, NULL, 'e'},
{"file", required_argument, NULL, 'f'},
- {"pool", required_argument, NULL, 'P'},
{"path", required_argument, NULL, 'p'},
{"xpath", required_argument, NULL, 'x'},
{"size", required_argument, NULL, 's'},
@@ -22,7 +22,7 @@ CommandLineOptions::CommandLineOptions(int argc, char * const argv[]) {
int c;
- while ((c = getopt_long(argc, argv, "c:d:f:P:p:x:s:t:w:vhbD", longOptions, NULL)) != -1) {
+ while ((c = getopt_long(argc, argv, "c:d:e:f:p:x:s:t:w:vhbD", longOptions, NULL)) != -1) {
switch (c) {
case 'c':
options.insert("config", optarg);
@@ -36,8 +36,8 @@ CommandLineOptions::CommandLineOptions(int argc, char * const argv[]) {
case 'D':
options.insert("debugMode", "debugMode");
break;
- case 'P':
- options.insert("pool", optarg);
+ case 'e':
+ options.insert("env", optarg);
break;
case 'p':
options.insert("path", optarg);