ruptime: let --json be mutexed with sorting flags

This commit is contained in:
2026-07-20 20:53:31 +09:00
parent d67aaba58f
commit 219e4f7cdf
+5 -1
View File
@@ -52,7 +52,11 @@ pub struct Args {
old: bool,
/// Output in JSON format
#[arg(long, short)]
#[arg(
long,
short,
conflicts_with_all = ["load", "reverse", "time", "users"]
)]
json: bool,
/// Generate shell completion scripts for the specified shell