Skip to content

Commit

Permalink
CLI put: remove -e shorthand
Browse files Browse the repository at this point in the history
The letter conflicts with --exclude, which would be much better suited for a shorthand.
Unlike --exclude, --exec is only used up to once, less often, and is shorter.
I didn't directly add -e back as a shorthand for --exclude, as I'm not 100% sure yet if we'd want that.
  • Loading branch information
piegamesde committed Feb 3, 2024
1 parent c9ef242 commit 3f00608
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ fn put_main(args: Vec<String>) -> Result<(), anyhow::Error> {
opts.optflag("q", "quiet", "Be quiet, implies --no-progress.");

opts.optflag(
"e",
"",
"exec",
"Treat arguments as a command to run, ensuring it succeeds before committing the item.",
);
Expand Down

0 comments on commit 3f00608

Please sign in to comment.