Skip to content

Commit

Permalink
Add default value for output file name
Browse files Browse the repository at this point in the history
Not sure yet if this is a good idea...
  • Loading branch information
tanuva committed Nov 20, 2023
1 parent c6ced8e commit bc68ee9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions escl-scan-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,8 @@ struct Args {
#[arg(long = "host", required = true)]
host: String,

// , default_value = "scan.jpg"
/// Output file name
#[arg(value_name = "OUTPUT_FILE_NAME")]
#[arg(value_name = "OUTPUT_FILE_NAME", default_value = "scan.jpg")]
output_file_name: String,
}

Expand Down

0 comments on commit bc68ee9

Please sign in to comment.