From e880aa51a3f1f3b78e43a10314206ec0b51b1baa Mon Sep 17 00:00:00 2001 From: -k Date: Wed, 21 Aug 2024 23:34:47 -0700 Subject: [PATCH] refactor: move `time` option --- src/main.zig | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main.zig b/src/main.zig index b113a27..8f3074d 100644 --- a/src/main.zig +++ b/src/main.zig @@ -124,16 +124,6 @@ pub const setup_cmd: CommandT = .{ .long_name = "mode", .val = ValueT.ofType(Mode, .{ .name = "string", .default_val = Mode.binary, .alias_child_type = "mode" }), }, - .{ - .name = "time", - .description = "Set duration (seconds).", - .short_name = 't', - .long_name = "time", - .val = ValueT.ofType(u32, .{ - .name = "integer", - .default_val = 0, - }), - }, .{ .name = "pulse", .description = "Enable pulse blocks.", @@ -144,6 +134,16 @@ pub const setup_cmd: CommandT = .{ .default_val = false, }), }, + .{ + .name = "time", + .description = "Set duration (seconds).", + .short_name = 't', + .long_name = "time", + .val = ValueT.ofType(u32, .{ + .name = "integer", + .default_val = 0, + }), + }, }, };