From 6ce1a7f800f73f73a43eace1fcc26017ce78982f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Augusto=20C=C3=A9sar?= Date: Mon, 16 Mar 2026 14:47:29 +0100 Subject: [PATCH] chore: remove deprecated --all arg on status --- linkup-cli/src/commands/status.rs | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/linkup-cli/src/commands/status.rs b/linkup-cli/src/commands/status.rs index b89658a3..cf510ceb 100644 --- a/linkup-cli/src/commands/status.rs +++ b/linkup-cli/src/commands/status.rs @@ -25,21 +25,9 @@ pub struct Args { // Output status in JSON format #[arg(long)] pub json: bool, - - #[arg(short, long)] - all: bool, } pub fn status(args: &Args) -> anyhow::Result<()> { - // TODO(augustocesar)[2024-10-28]: Remove --all/-a in a future release. - // Do not print the warning in case of JSON so it doesn't break any usage if the result of the command - // is passed on to somewhere else. - if args.all && !args.json { - let warning = "--all/-a is a noop now. All services statuses will always be shown. \ - This arg will be removed in a future release.\n"; - println!("{}", warning.yellow()); - } - if !State::exists() { println!( "{}",