Skip to content

Commit

Permalink
ダウンローダにclap::Arg::value_nameを設定
Browse files Browse the repository at this point in the history
  • Loading branch information
qryxip committed Sep 10, 2023
1 parent 22b46cd commit e70ed4f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/download/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ struct Args {
min: bool,

/// 出力先の指定
#[arg(short, long, default_value(DEFAULT_OUTPUT))]
#[arg(short, long, value_name("DIRECTORY"), default_value(DEFAULT_OUTPUT))]
output: PathBuf,

/// ダウンロードするvoicevox_coreのバージョンの指定
#[arg(short, long, default_value("latest"))]
#[arg(short, long, value_name("GIT_TAG_OR_LATEST"), default_value("latest"))]
version: String,

/// 追加でダウンロードするライブラリのバージョン
#[arg(long, default_value("latest"))]
#[arg(long, value_name("GIT_TAG_OR_LATEST"), default_value("latest"))]
additional_libraries_version: String,

/// ダウンロードするデバイスを指定する(cudaはlinuxのみ)
Expand Down

0 comments on commit e70ed4f

Please sign in to comment.