Make --append and --overwrite in conflict with each other

This commit is contained in:
Marcin Kulik
2023-10-27 22:14:09 +02:00
parent 0f3847da02
commit 0a3e6ecd8b
2 changed files with 2 additions and 1 deletions

View File

@@ -3,6 +3,7 @@
## 3.0.0 (wip)
* Full rewrite in Rust
* Use of `--append` and `--overwrite` together gives returns error now
## 2.4.0 (2023-10-23)

View File

@@ -33,7 +33,7 @@ enum Commands {
raw: bool,
/// Overwrite target file if it already exists
#[arg(long)]
#[arg(long, conflicts_with = "append")]
overwrite: bool,
/// Command to record