feat(ctl): add help and about to commands and arguments

This commit is contained in:
Alex Zenla
2024-04-04 23:48:13 -07:00
parent 8f7e47a218
commit de04edfe0e
8 changed files with 63 additions and 22 deletions

View File

@ -17,8 +17,9 @@ enum WatchFormat {
}
#[derive(Parser)]
#[command(about = "Watch for guest changes")]
pub struct WatchCommand {
#[arg(short, long, default_value = "simple")]
#[arg(short, long, default_value = "simple", help = "Output format")]
format: WatchFormat,
}