fix notes cli parsing

This commit is contained in:
brevalferrari 2025-06-04 12:31:50 +02:00
parent 1dc5db9bd2
commit 3fd3dafc0d

View file

@ -53,7 +53,7 @@ pub(super) struct PlayOpts {
#[command(flatten)] #[command(flatten)]
input: InputGroup, input: InputGroup,
/// Set available notes ("a,b,c" for example) /// Set available notes ("a,b,c" for example)
#[arg(short, long)] #[arg(short, long, value_delimiter = ',')]
notes: Vec<String>, notes: Vec<String>,
/// Set the signal expression (instrument) used to generate music samples /// Set the signal expression (instrument) used to generate music samples
#[arg(short, long, default_value = DEFAULT_INSTRUMENT)] #[arg(short, long, default_value = DEFAULT_INSTRUMENT)]