We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rustc 1.57.0 (Arch Linux rust 1:1.57.0-1)
3.0.5
use clap::App; use clap_complete::{generate, shells::Zsh}; use std::io; fn main() { let mut app = App::new("myapp") .subcommand(App::new("test").subcommand(App::new("config"))) .subcommand(App::new("hello")); generate(Zsh, &mut app, "myapp", &mut io::stdout()); }
cargo run
When the command is ran, there's no newline character at the end of the output
There should be a newline character at the end of the output, like how there is on all other completions' outputs
No response
The text was updated successfully, but these errors were encountered:
I created a pull request to solve this issue, #3275
To be fair, it isn't hard to solve.
Sorry, something went wrong.
No branches or pull requests
Please complete the following tasks
Rust Version
rustc 1.57.0 (Arch Linux rust 1:1.57.0-1)
Clap Version
3.0.5
Minimal reproducible code
Steps to reproduce the bug with the above code
Actual Behaviour
When the command is ran, there's no newline character at the end of the output
Expected Behaviour
There should be a newline character at the end of the output, like how there is on all other completions' outputs
Additional Context
No response
Debug Output
No response
The text was updated successfully, but these errors were encountered: