From 14610a7867dbaf0755ee4ccf4a6c904065f050ff Mon Sep 17 00:00:00 2001 From: wyhaya Date: Tue, 7 Apr 2020 19:34:01 +0800 Subject: [PATCH] Fix App function name --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 028ca8c..63984c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,7 +56,7 @@ async fn main() { let app = App::new() .name(env!("CARGO_PKG_NAME")) - .desc(env!("CARGO_PKG_VERSION")) + .version(env!("CARGO_PKG_VERSION")) .cmd("add", "Add a DNS record") .cmd("ls", "Print all configured DNS records") .cmd("config", "Call 'vim' to edit the configuration file")