docs: fix incorrect comment on machine_readable

This commit is contained in:
mokurin000
2025-08-02 11:01:34 +08:00
parent c3010f2f10
commit fe008cca67

View File

@@ -5,7 +5,9 @@ use strum::EnumString;
#[derive(Parser)] #[derive(Parser)]
#[command(about = "SDGB api tool", long_about = env!("CARGO_PKG_DESCRIPTION"))] #[command(about = "SDGB api tool", long_about = env!("CARGO_PKG_DESCRIPTION"))]
pub struct Cli { pub struct Cli {
/// try to generate human readable output. /// Try to generate machine readable format.
///
/// You must specify this for `-f, --format` to take effect.
#[arg(short = 'M', long)] #[arg(short = 'M', long)]
pub machine_readable: bool, pub machine_readable: bool,
#[command(subcommand)] #[command(subcommand)]