mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-04-11 16:07:55 +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)]
|
||||
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>,
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue