Merge pull request #3415 from epage/man

fix(man): Rename crate to match style
This commit is contained in:
Ed Page 2022-02-07 21:22:55 -06:00 committed by GitHub
commit c65b9f07e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 11 additions and 11 deletions

View file

@ -5,7 +5,7 @@ members = [
"clap_complete_fig",
"clap_generate",
"clap_generate_fig",
"clap_man",
"clap_mangen",
]
[package]

View file

@ -1,3 +1,3 @@
# How to Contribute
See the [clap-wide CONTRIBUTING.md](../CONTRIBUTING.md). This will contain `clap_man` specific notes.
See the [clap-wide CONTRIBUTING.md](../CONTRIBUTING.md). This will contain `clap_mangen` specific notes.

View file

@ -1,5 +1,5 @@
[package]
name = "clap_man"
name = "clap_mangen"
version = "0.1.0"
edition = "2018"
include = [
@ -9,8 +9,8 @@ include = [
"README.md"
]
description = "A manpage generator for clap"
repository = "https://github.com/clap-rs/clap/tree/master/clap_man"
documentation = "https://docs.rs/clap_man"
repository = "https://github.com/clap-rs/clap/tree/master/clap_mangen"
documentation = "https://docs.rs/clap_mangen"
keywords = [
"clap",
"cli",

View file

@ -1,17 +1,17 @@
<!-- omit in TOC -->
# clap_man
# clap_mangen
> **Manpage generation for `clap`**
[![Crates.io](https://img.shields.io/crates/v/clap_man?style=flat-square)](https://crates.io/crates/clap_man)
[![Crates.io](https://img.shields.io/crates/d/clap_man?style=flat-square)](https://crates.io/crates/clap_man)
[![Crates.io](https://img.shields.io/crates/v/clap_mangen?style=flat-square)](https://crates.io/crates/clap_mangen)
[![Crates.io](https://img.shields.io/crates/d/clap_mangen?style=flat-square)](https://crates.io/crates/clap_mangen)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/master/LICENSE-APACHE)
[![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](https://github.com/clap-rs/clap/blob/master/LICENSE-MIT)
Dual-licensed under [Apache 2.0](LICENSE-APACHE) or [MIT](LICENSE-MIT).
1. [About](#about)
2. [API Reference](https://docs.rs/clap_man)
2. [API Reference](https://docs.rs/clap_mangen)
3. [Questions & Discussions](https://github.com/clap-rs/clap/discussions)
4. [CONTRIBUTING](https://github.com/clap-rs/clap/blob/v3.0.0-rc.4/clap_generate/CCONTRIBUTING.md)
5. [Sponsors](https://github.com/clap-rs/clap/blob/v3.0.0-rc.4/README.md#sponsors)

View file

@ -1,5 +1,5 @@
use clap::{arg, App};
use clap_man::Man;
use clap_mangen::Man;
use std::io;
// Run this example as `cargo run --example man | man -l -`.

View file

@ -1,5 +1,5 @@
use clap::{arg, App};
use clap_man::Man;
use clap_mangen::Man;
use std::io;
#[test]