Changes
2 changed files (+14/-2)
-
-
@@ -32,7 +32,7 @@ function_report: c.OnOff = c.ONOFF_OFF,function_list: c.OnOff = c.ONOFF_OFF, function_poll: c.OnOff = c.ONOFF_OFF, function_wait: c.OnOff = c.ONOFF_OFF, utc: c.OnOff = c.ONOFF_OFF, utc: bool = false, debug: bool = false, report_sunrise: c.OnOff = c.ONOFF_OFF, report_sunset: c.OnOff = c.ONOFF_OFF,
-
@@ -64,7 +64,7 @@ .functionReport = self.function_report,.functionList = self.function_list, .functionPoll = self.function_poll, .functionWait = self.function_wait, .utc = self.utc, .utc = if (self.utc) c.ONOFF_ON else c.ONOFF_OFF, .debug = if (self.debug) c.ONOFF_ON else c.ONOFF_OFF, .reportSunrise = self.report_sunrise, .reportSunset = self.report_sunset,
-
-
-
@@ -48,6 +48,7 @@ \\-v, --version Prints version to stdout and exits.\\-h, --help Prints this message to stdout and exits. \\--debug Prints debug log, and shortens "wait" duration \\ to one minute. \\--utc Dates and times will use UTC rather than local time. \\ \\[Commands] \\poll Prints whether it's DAY or NIGHT.
-
@@ -115,6 +116,17 @@ }if (std.mem.eql(u8, "--debug", arg)) { opts.debug = true; continue; } if (std.mem.eql(u8, "--utc", arg)) { opts.utc = true; continue; } if (std.mem.eql(u8, "--gmt", arg)) { std.log.warn("--gmt is deprecated. Use --utc instead.", .{}); opts.utc = true; continue; } }
-