|
| 1 | +#include "ApplicationSettings.h" |
1 | 2 | #include "ApplicationArguments.h"
|
2 | 3 | #include "ApplicationException.h"
|
3 |
| -#include "ApplicationSettings.h" |
4 | 4 |
|
5 | 5 | #include "common/Utils.h"
|
6 | 6 | #include "printer/AugmentedOIOutputBuilder.h"
|
@@ -80,7 +80,7 @@ class StringOutputGenerator : public TCLAP::StdOutput {
|
80 | 80 | namespace s2j {
|
81 | 81 | namespace app {
|
82 | 82 |
|
83 |
| -const std::string ApplicationSettings::VERSION = "1.3.0"; |
| 83 | +const std::string ApplicationSettings::VERSION = "1.4.0-beta"; |
84 | 84 |
|
85 | 85 | const std::string ApplicationSettings::DESCRIPTION =
|
86 | 86 | "SIO2jail, a sandbox for programming contests.";
|
@@ -115,12 +115,10 @@ const std::map<std::string, std::pair<Feature, bool>>
|
115 | 115 | {"procfs", {Feature::MOUNT_PROCFS, false}},
|
116 | 116 | {"capability-drop", {Feature::CAPABILITY_DROP, true}}});
|
117 | 117 |
|
118 |
| -const std::vector<std::string> ApplicationSettings::FLAGS_ON({"on", |
119 |
| - "yes", |
120 |
| - "1"}); |
121 |
| -const std::vector<std::string> ApplicationSettings::FLAGS_OFF({"off", |
122 |
| - "no", |
123 |
| - "0"}); |
| 118 | +const std::vector<std::string> ApplicationSettings::FLAGS_ON( |
| 119 | + {"on", "yes", "1"}); |
| 120 | +const std::vector<std::string> ApplicationSettings::FLAGS_OFF( |
| 121 | + {"off", "no", "0"}); |
124 | 122 |
|
125 | 123 | ApplicationSettings::ApplicationSettings()
|
126 | 124 | : action(Action::PRINT_HELP)
|
|
0 commit comments