* `-h` | `--help`: Print usage summary.
- * `--man` | `--manual`: Format this manual into html using `pandoc`
- and display it with `w3m`.
+ * `--doc` | `--man` | `--manual`: Format this manual into html using
+ `pandoc` and display it with `w3m`.
Environment of the build command
--------------------------------
-T<arch> --target=<arch> Specify target architecture
-h --help Print this message
- --man --manual Display complete manual (in w3m)
+ --doc --man --manual Display complete manual (in w3m)
--leave-nailed Leave the nailed Cargo.toml in place
--just-linkfarm | --clean-linkfarm | --keep-linkfarm (default)
--just-run Run the command, don't do cargo stuff
}
} elsif (s{^--help$}{}) {
print_usage();
- } elsif (s{^--man(?:ual)?$}{}) {
+ } elsif (s{^--(?:doc|man|manual)?$}{}) {
show_manual();
} elsif (s{^--target=}{}) {
$target = $_;