update(bin): add doccomments to subcommands

This commit is contained in:
Wataru Otsubo 2025-03-11 19:49:16 +09:00
parent d0d5299101
commit 8732afd297

View file

@ -15,13 +15,16 @@ struct Args {
#[derive(Debug, Subcommand)]
enum Commands {
/// Generate register interface code.
Generate {
/// Output directory.
out: path::PathBuf,
},
/// Generate flattened register map in CSV.
#[cfg(feature = "flatmap")]
Flatmap {
/// Flattened csv out path.
/// Print to stdout by default.
flatmap: Option<path::PathBuf>,
},
}