You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cxxopts::Options options(argv[0], " - example command line options");
119
104
options
120
-
.positional_help("[optional args]")
121
-
.show_positional_help();
105
+
.positional_help("[optional args]")
106
+
.show_positional_help();
122
107
123
108
options
124
-
.add_options()("help", "Print help")("d,date", "The date column", cxxopts::value<int>(date_col), "N")("s,solar", "The solar column", cxxopts::value<int>(solar_col), "N")("g,gridie", "The Grid IE column", cxxopts::value<int>(grid_ie_col), "N")("attack", "The attack factor for the smoothing", cxxopts::value<double>(divert_attack_smoothing_factor))("decay", "The decay factor for the smoothing", cxxopts::value<double>(divert_decay_smoothing_factor))("v,voltage", "The Voltage column if < 50, else the fixed voltage", cxxopts::value<int>(voltage_arg), "N")("kw", "values are KW")("sep", "Field separator", cxxopts::value<std::string>(sep));
109
+
.add_options()
110
+
("help", "Print help")
111
+
("d,date", "The date column", cxxopts::value<int>(date_col), "N")
112
+
("s,solar", "The solar column", cxxopts::value<int>(solar_col), "N")
113
+
("g,gridie", "The Grid IE column", cxxopts::value<int>(grid_ie_col), "N")
114
+
("attack", "The attack factor for the smoothing", cxxopts::value<double>(divert_attack_smoothing_factor))
115
+
("decay", "The decay factor for the smoothing", cxxopts::value<double>(divert_decay_smoothing_factor))
116
+
("v,voltage", "The Voltage column if < 50, else the fixed voltage", cxxopts::value<int>(voltage_arg), "N")
0 commit comments