ruptime: let --json be mutexed with sorting flags
This commit is contained in:
+5
-1
@@ -52,7 +52,11 @@ pub struct Args {
|
|||||||
old: bool,
|
old: bool,
|
||||||
|
|
||||||
/// Output in JSON format
|
/// Output in JSON format
|
||||||
#[arg(long, short)]
|
#[arg(
|
||||||
|
long,
|
||||||
|
short,
|
||||||
|
conflicts_with_all = ["load", "reverse", "time", "users"]
|
||||||
|
)]
|
||||||
json: bool,
|
json: bool,
|
||||||
|
|
||||||
/// Generate shell completion scripts for the specified shell
|
/// Generate shell completion scripts for the specified shell
|
||||||
|
|||||||
Reference in New Issue
Block a user