feat: display author from help
This commit is contained in:
@@ -3,7 +3,7 @@ name = "acme-client"
|
||||
version = "0.1.0"
|
||||
authors = ["Hatter Jiang <jht5945@gmail.com>"]
|
||||
edition = "2018"
|
||||
description = "Acme auto challenge client"
|
||||
description = "Acme auto challenge client, acme-client can issue certificates from Let's encrypt"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ use async_std::channel::Sender;
|
||||
|
||||
const NAME: &str = env!("CARGO_PKG_NAME");
|
||||
const VERSION: &str = env!("CARGO_PKG_VERSION");
|
||||
const AUTHORS: &str = env!("CARGO_PKG_AUTHORS");
|
||||
const DESCRIPTION: &str = env!("CARGO_PKG_DESCRIPTION");
|
||||
|
||||
lazy_static! {
|
||||
@@ -36,6 +37,7 @@ async fn main() -> tide::Result<()> {
|
||||
let matches = App::new(NAME)
|
||||
.version(VERSION)
|
||||
.about(DESCRIPTION)
|
||||
.author(AUTHORS)
|
||||
.arg(Arg::with_name("version").short("V").long("version").help("Print version"))
|
||||
.arg(Arg::with_name("verbose").short("v").long("verbose").help("Verbose"))
|
||||
.arg(Arg::with_name("type").short("t").long("type").default_value("http").takes_value(true).help("Type http or dns"))
|
||||
|
||||
Reference in New Issue
Block a user