From 3fc218107b0f911169a58f2c8dba3fba7e6bcdc3 Mon Sep 17 00:00:00 2001 From: jdx <216188+jdx@users.noreply.github.com> Date: Mon, 9 Dec 2024 09:14:53 -0600 Subject: [PATCH] Update README.md --- clap_usage/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clap_usage/README.md b/clap_usage/README.md index 3267b95..7d3453c 100644 --- a/clap_usage/README.md +++ b/clap_usage/README.md @@ -21,7 +21,7 @@ fn main() { if matches.get_flag("usage") { let mut cmd = build_cli(); eprintln!("Generating usage spec..."); - clap_usage::generate(&mut cmd, "example", &mut std::io::stderr()).unwrap(); + clap_usage::generate(&mut cmd, "example", &mut std::io::stdout()).unwrap(); return; }