From 06d93435b7a8b825e84498b7eed67f94f7385a31 Mon Sep 17 00:00:00 2001 From: mabulgu Date: Fri, 28 Feb 2025 01:40:40 +0300 Subject: [PATCH] Fix docgen problem: no variant or associated item named found for enum in the current scope --- lib/src/docgen.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/docgen.rs b/lib/src/docgen.rs index 53ddc81b4..4bedded64 100644 --- a/lib/src/docgen.rs +++ b/lib/src/docgen.rs @@ -10,7 +10,7 @@ use camino::Utf8Path; use clap::{Command, CommandFactory}; pub fn generate_manpages(directory: &Utf8Path) -> Result<()> { - generate_one(directory, crate::cli::Opt::command()) + generate_one(directory, crate::cli::Cli::command()) } fn generate_one(directory: &Utf8Path, cmd: Command) -> Result<()> {