mirror of
https://github.com/timvisee/ffsend.git
synced 2025-10-03 09:39:15 +02:00
Shell completion generation status should print to stderr, not stdout
This commit is contained in:
parent
463130cdf8
commit
8bd3efb1c4
1 changed files with 2 additions and 2 deletions
|
@ -38,14 +38,14 @@ impl<'a> Completions<'a> {
|
||||||
// Generate completions
|
// Generate completions
|
||||||
for shell in shells {
|
for shell in shells {
|
||||||
if !quiet {
|
if !quiet {
|
||||||
print!(
|
eprint!(
|
||||||
"Generating completions for {}...",
|
"Generating completions for {}...",
|
||||||
format!("{}", shell).to_lowercase()
|
format!("{}", shell).to_lowercase()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
app.gen_completions(crate_name!(), shell, &dir);
|
app.gen_completions(crate_name!(), shell, &dir);
|
||||||
if !quiet {
|
if !quiet {
|
||||||
println!(" done.");
|
eprintln!(" done.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue