Use package description in clap

This commit is contained in:
Ryan O'Beirne 2019-02-25 10:17:26 -05:00 committed by Pierre Peltier
parent 596d20500e
commit 9ec57c47b2
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
authors = ["Peltoche <dev@halium.fr>"]
build = "build.rs"
categories = ["command-line-utilities"]
description = "A ls command with a lot of pretty colors."
description = "An ls command with a lot of pretty colors and some other stuff."
keywords = ["ls"]
license = "Apache-2.0"
name = "lsd"

View file

@ -3,7 +3,7 @@ use clap::{App, Arg};
pub fn build() -> App<'static, 'static> {
App::new("lsd")
.version(crate_version!())
.about("An ls comment with a lot of pretty colors and some other stuff.")
.about(crate_description!())
.arg(Arg::with_name("FILE").multiple(true).default_value("."))
.arg(
Arg::with_name("all")