Skip to content

Commit

Permalink
polish
Browse files Browse the repository at this point in the history
  • Loading branch information
Phydon committed Apr 28, 2024
1 parent 0078b47 commit 7ae8d1b
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,24 +349,9 @@ fn sl() -> Command {
"SIMPLE LS".bold().truecolor(250, 0, 104),
"Leann Phydon <[email protected]>".italic().dimmed()
))
.about("Simply list directory entries without any fancy stuff")
.before_long_help(format!(
"{}\n{}",
"SIMPLE LS".bold().truecolor(250, 0, 104),
"Leann Phydon <[email protected]>".italic().dimmed()
))
.long_about(format!(
"{}\n{} {} {} {} {} {}",
"Simply list directory entries",
"💥",
"even".bold().underline().blue(),
"WITH".strikethrough().yellow(),
"fancy".italic().purple(),
"stuff".bright_red().reversed(),
"✨"
))
.about("List directory entries")
// TODO update version
.version("1.1.6")
.version("1.1.7")
.author("Leann Phydon <[email protected]>")
.arg(
Arg::new("colour")
Expand All @@ -381,7 +366,7 @@ fn sl() -> Command {
.short('d')
.long("dirs")
.visible_alias("dir")
.help("Show only dirs")
.help("Show only directories")
.action(ArgAction::SetTrue)
.conflicts_with("files"),
)
Expand All @@ -397,7 +382,7 @@ fn sl() -> Command {
Arg::new("fullpath")
.short('F')
.long("fullpath")
.help("Show the complete path instead of just the name")
.help("Show the complete path instead of just the filename")
.action(ArgAction::SetTrue),
)
.arg(
Expand All @@ -412,7 +397,7 @@ fn sl() -> Command {
Arg::new("long")
.short('l')
.long("long")
.help("Show more output")
.help("Show more detailed entry information")
.long_help("Additionaly display [type, size, last modified, read_only]")
.action(ArgAction::SetTrue),
)
Expand Down

0 comments on commit 7ae8d1b

Please sign in to comment.