mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-06 11:35:45 +00:00
fix: remove single quotes from clap doc comments
Apparently, clap_complete doesn't properly escape single quotes in doc comments, leading to broken shell completions for zsh. To circumvent this, I've removed the single quote in the one place where it shouldn't have been in the first place ("it's" vs "its", contraction vs possessive pronoun), and replaced "it's" with "it is" in the other place. Reference to upstream issue: https://github.com/clap-rs/clap/issues/1596
This commit is contained in:
parent
20e2044bd0
commit
abca371dcc
@ -120,7 +120,7 @@ pub fn run(
|
||||
let output_file = fs::File::create(&output_path)?;
|
||||
|
||||
if !represents_several_files(&files) {
|
||||
// It's possible the file is already partially compressed so we don't want to compress it again
|
||||
// It is possible the file is already partially compressed so we don't want to compress it again
|
||||
// `ouch compress file.tar.gz file.tar.gz.xz` should produce `file.tar.gz.xz` and not `file.tar.gz.tar.gz.xz`
|
||||
let input_extensions = extension::extensions_from_path(&files[0]);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user