mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-04-20 11:46:04 +09:00
update(bin): add doccomments to subcommands
This commit is contained in:
parent
d0d5299101
commit
8732afd297
1 changed files with 3 additions and 0 deletions
|
@ -15,13 +15,16 @@ struct Args {
|
||||||
|
|
||||||
#[derive(Debug, Subcommand)]
|
#[derive(Debug, Subcommand)]
|
||||||
enum Commands {
|
enum Commands {
|
||||||
|
/// Generate register interface code.
|
||||||
Generate {
|
Generate {
|
||||||
/// Output directory.
|
/// Output directory.
|
||||||
out: path::PathBuf,
|
out: path::PathBuf,
|
||||||
},
|
},
|
||||||
|
/// Generate flattened register map in CSV.
|
||||||
#[cfg(feature = "flatmap")]
|
#[cfg(feature = "flatmap")]
|
||||||
Flatmap {
|
Flatmap {
|
||||||
/// Flattened csv out path.
|
/// Flattened csv out path.
|
||||||
|
/// Print to stdout by default.
|
||||||
flatmap: Option<path::PathBuf>,
|
flatmap: Option<path::PathBuf>,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue