Skip to content

Commit 06d9343

Browse files
committed
Fix docgen problem: no variant or associated item named found for enum in the current scope
1 parent d7f6a62 commit 06d9343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/docgen.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use camino::Utf8Path;
1010
use clap::{Command, CommandFactory};
1111

1212
pub fn generate_manpages(directory: &Utf8Path) -> Result<()> {
13-
generate_one(directory, crate::cli::Opt::command())
13+
generate_one(directory, crate::cli::Cli::command())
1414
}
1515

1616
fn generate_one(directory: &Utf8Path, cmd: Command) -> Result<()> {

0 commit comments

Comments
 (0)