Skip to content

Commit

Permalink
More info on rename-duplicate arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Atreyagaurav committed Sep 22, 2024
1 parent 181988c commit 5edf363
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,11 @@ pub struct CliArgs {
pub overwrite_files: bool,

/// Enable renaming files during file upload if duplicate exists
///
/// The renaming will occur by adding numerical suffix to the
/// filename before the final extension. For example file.txt will
/// be uploaded as file-1.txt, the number will be increased untill
/// a available slot is found.
#[arg(
short = 'R',
long = "rename-duplicate",
Expand Down

0 comments on commit 5edf363

Please sign in to comment.