mirror of
https://github.com/lsd-rs/lsd
synced 2024-12-14 22:22:26 +00:00
Use package description in clap
This commit is contained in:
parent
596d20500e
commit
9ec57c47b2
2 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
||||||
authors = ["Peltoche <dev@halium.fr>"]
|
authors = ["Peltoche <dev@halium.fr>"]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
categories = ["command-line-utilities"]
|
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"]
|
keywords = ["ls"]
|
||||||
license = "Apache-2.0"
|
license = "Apache-2.0"
|
||||||
name = "lsd"
|
name = "lsd"
|
||||||
|
|
|
@ -3,7 +3,7 @@ use clap::{App, Arg};
|
||||||
pub fn build() -> App<'static, 'static> {
|
pub fn build() -> App<'static, 'static> {
|
||||||
App::new("lsd")
|
App::new("lsd")
|
||||||
.version(crate_version!())
|
.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("FILE").multiple(true).default_value("."))
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("all")
|
Arg::with_name("all")
|
||||||
|
|
Loading…
Reference in a new issue