From be585f33fdb59ffe11e9e6e8877edc1cbeb50598 Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdx@users.noreply.github.com> Date: Sat, 16 Mar 2024 10:54:34 -0500 Subject: [PATCH] fix: display error message from calling `usage` --- src/cli/completion.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/cli/completion.rs b/src/cli/completion.rs index 1effe0a32..b408e683a 100644 --- a/src/cli/completion.rs +++ b/src/cli/completion.rs @@ -44,6 +44,8 @@ impl Completion { ) .run(); if res.is_err() { + debug!("usage command failed, falling back to prerendered completions"); + debug!("error: {:?}", res); return self.prerendered(shell); } return Ok(());