Support multiple option values for --image to support shell expansion
This commit is contained in:
@@ -16,7 +16,14 @@ pub struct Arguments {
|
|||||||
host: String,
|
host: String,
|
||||||
|
|
||||||
/// Image path(s)
|
/// Image path(s)
|
||||||
#[arg(short, long, value_name = "PATH", required = true, alias = "images")]
|
#[arg(
|
||||||
|
short,
|
||||||
|
long,
|
||||||
|
value_name = "PATH",
|
||||||
|
required = true,
|
||||||
|
alias = "images",
|
||||||
|
num_args(1..)
|
||||||
|
)]
|
||||||
image: Vec<String>,
|
image: Vec<String>,
|
||||||
|
|
||||||
/// Draw width [default: screen width]
|
/// Draw width [default: screen width]
|
||||||
|
|||||||
Reference in New Issue
Block a user