fixed the thing where it shows error instead of help
@@ -162,7 +162,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
)
.about("Generates documentation for a SPWN library, in the form of a markdown file"),
]
- ).get_matches();
+ ).global_setting(clap::AppSettings::ArgRequiredElseHelp).get_matches();
if let Some(build_cmd) = matches.subcommand_matches("build") {
let script_path = build_cmd.value_of("SCRIPT").ok_or("unreachable")?;
