Skip to content

Commit

Permalink
Fix docgen problem: no variant or associated item named found for enu…
Browse files Browse the repository at this point in the history
…m in the current scope
  • Loading branch information
mabulgu committed Feb 27, 2025
1 parent d7f6a62 commit 06d9343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/docgen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down

0 comments on commit 06d9343

Please sign in to comment.