瀏覽代碼

refactor(cli): rename --power-off to --off on stop subcommand

Alexander Korolev 3 月之前
父節點
當前提交
280be2c119
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      src/cli.rs

+ 1 - 1
src/cli.rs

@@ -89,7 +89,7 @@ pub enum Commands {
         cluster: String,
 
         /// Power off cluster after stopping containers (requires HA config).
-        #[arg(long, default_value = "false")]
+        #[arg(long = "off", default_value = "false")]
         power_off: bool,
     },