From a5749a5d8d38b0db2ce5548473f8a61b674578a6 Mon Sep 17 00:00:00 2001 From: namilsk Date: Sat, 31 Jan 2026 21:26:26 +0300 Subject: Started writing service-utils and adding docstrings --- vigilctl/src/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vigilctl/src') diff --git a/vigilctl/src/main.rs b/vigilctl/src/main.rs index 08ff37c..9dd9dce 100644 --- a/vigilctl/src/main.rs +++ b/vigilctl/src/main.rs @@ -1,6 +1,6 @@ use clap::{Parser, Subcommand}; -#[derive(Subcommand, Clone,Debug)] +#[derive(Subcommand, Clone, Debug)] enum Command { /// Check Service Status Status { of: String }, @@ -15,7 +15,7 @@ enum Command { Disable { service: String }, /// Power Management Commands #[command(subcommand)] - Power(PowerCommand) + Power(PowerCommand), } #[derive(Subcommand, Clone, Debug)] enum PowerCommand { @@ -24,7 +24,7 @@ enum PowerCommand { /// Poweroff System Poweroff, /// Halt - Halt + Halt, } #[derive(Parser)] #[command(name = "vigilctl")] -- cgit v1.2.3