Default to using file apply policy of MergeOverwrite

This commit is contained in:
Warren Hood 2024-10-09 01:18:52 +02:00
parent d1bce34c60
commit c75f210a4b

View file

@ -139,8 +139,8 @@ enum FileCommands {
/// Side to copy the file/folder to /// Side to copy the file/folder to
#[arg(long, default_value_t = DownloadSide::Server)] #[arg(long, default_value_t = DownloadSide::Server)]
side: DownloadSide, side: DownloadSide,
/// File apply policy - whether to always apply the file or just apply it once (if the file doesn't exist) /// File apply policy - whether to always apply the file or just apply it once (if the file doesn't exist), or merge (mergeretain or mergeoverwrite)
#[arg(long, default_value_t = FileApplyPolicy::Always)] #[arg(long, default_value_t = FileApplyPolicy::MergeOverwrite)]
apply_policy: FileApplyPolicy, apply_policy: FileApplyPolicy,
}, },
/// Show metadata about a file in the pack /// Show metadata about a file in the pack