Skip to content

Commit

Permalink
Fix the progress option so it doesn't conflict with preserve
Browse files Browse the repository at this point in the history
  • Loading branch information
wykurz committed Dec 26, 2023
1 parent a61573e commit 8fba6b6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ FLAGS:
-h, --help Prints help information
-o, --overwrite Overwrite existing files/directories
-p, --preserve Preserve additional file attributes: file owner, group, setuid, setgid, mtime and atime
-p, --progress Show progress
--progress Show progress
-q, --quiet Quiet mode, don't report errors
-V, --version Prints version information
-v, --verbose Verbose level: -v INFO / -vv DEBUG / -vvv TRACE (default: ERROR))
Expand Down Expand Up @@ -54,7 +54,7 @@ USAGE:
FLAGS:
-e, --fail-early Exit on first error
-h, --help Prints help information
-p, --progress Show progress
--progress Show progress
-q, --quiet Quiet mode, don't report errors
-V, --version Prints version information
-v, --verbose Verbose level: -v INFO / -vv DEBUG / -vvv TRACE (default: ERROR))
Expand Down Expand Up @@ -84,7 +84,7 @@ FLAGS:
-L, --dereference Always follow symbolic links in source
-e, --fail-early Exit on first error
-h, --help Prints help information
-p, --progress Show progress
--progress Show progress
-q, --quiet Quiet mode, don't report errors
-V, --version Prints version information
-v, --verbose Verbose level: -v INFO / -vv DEBUG / -vvv TRACE (default: ERROR))
Expand Down
2 changes: 1 addition & 1 deletion rcp/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rcp"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion rcp/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ struct Args {
fail_early: bool,

/// Show progress
#[structopt(short, long)]
#[structopt(long)]
progress: bool,

/// Preserve additional file attributes: file owner, group, setuid, setgid, mtime and atime
Expand Down
2 changes: 1 addition & 1 deletion rlink/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct Args {
fail_early: bool,

/// Show progress
#[structopt(short, long)]
#[structopt(long)]
progress: bool,

/// Always follow symbolic links in source
Expand Down
2 changes: 1 addition & 1 deletion rrm/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ struct Args {
fail_early: bool,

/// Show progress
#[structopt(short, long)]
#[structopt(long)]
progress: bool,

/// Verbose level: -v INFO / -vv DEBUG / -vvv TRACE (default: ERROR))
Expand Down

0 comments on commit 8fba6b6

Please sign in to comment.