forc-doc: add name/about/versioning and fix option description
Minor changes to `forc-doc`.
Add top-level `clap` description, mostly to allow for `fuelup` to be
able to query its version.
Fixed what I believe was a typo (Cargo -> forc-doc)
use clap::Parser;
#[derive(Debug, Parser)]
+#[clap(
+ name = "forc-doc",
+ about = "Forc plugin for building a Sway package's documentation",
+ version
+)]
pub struct Command {
- /// Path to the Forc.toml file. By default, Cargo searches for the Forc.toml
+ /// Path to the Forc.toml file. By default, forc-doc searches for the Forc.toml
/// file in the current directory or any parent directory.
#[clap(long)]
pub manifest_path: Option<String>,
