Skip to content

Commit

Permalink
chore: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Zhizhen He <[email protected]>
  • Loading branch information
hezhizhen authored and meain committed Oct 13, 2022
1 parent 501232d commit 385501e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

![image](https://raw.githubusercontent.com/Peltoche/lsd/assets/screen_lsd.png)

This project is a rewrite of GNU `ls` with lot of added features like colors, icons, tree-view, more formatting options etc.
This project is a rewrite of GNU `ls` with lots of added features like colors, icons, tree-view, more formatting options etc.
The project is heavily inspired by the super [colorls](https://github.com/athityakumar/colorls) project.

## Installation
Expand Down Expand Up @@ -56,7 +56,7 @@ cargo install --git https://github.com/Peltoche/lsd.git --branch master

### From Binaries

The [release page](https://github.com/Peltoche/lsd/releases) includes precompiled binaries for Linux, macOS and Windows for every release. You can also get the latest binary of `master` branch from the [Github action build artifacts](https://github.com/Peltoche/lsd/actions?query=branch%3Amaster+is%3Asuccess+event%3Apush) (choose the top action and scroll down to the artifacts section).
The [release page](https://github.com/Peltoche/lsd/releases) includes precompiled binaries for Linux, macOS and Windows for every release. You can also get the latest binary of `master` branch from the [GitHub action build artifacts](https://github.com/Peltoche/lsd/actions?query=branch%3Amaster+is%3Asuccess+event%3Apush) (choose the top action and scroll down to the artifacts section).

## Configuration

Expand Down Expand Up @@ -127,7 +127,7 @@ color:

# == Date ==
# This specifies the date format for the date column. The freeform format
# accepts an strftime like string.
# accepts a strftime like string.
# When "classic" is set, this is set to "date".
# Possible values: date, relative, '+<date_format>'
# `date_format` will be a `strftime` formatted value. e.g. `date: '+%d %b %y %X'` will give you a date like this: 17 Jun 21 20:14:55
Expand Down
2 changes: 1 addition & 1 deletion src/flags/hyperlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ mod test_hyperlink_option {
}

#[test]
fn test_from_arg_matches_autp() {
fn test_from_arg_matches_auto() {
let argv = ["lsd", "--hyperlink", "auto"];
let matches = app::build().get_matches_from_safe(argv).unwrap();
assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion src/flags/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ mod test_icon_option {
}

#[test]
fn test_from_arg_matches_autp() {
fn test_from_arg_matches_auto() {
let argv = ["lsd", "--icon", "auto"];
let matches = app::build().get_matches_from_safe(argv).unwrap();
assert_eq!(
Expand Down
2 changes: 1 addition & 1 deletion src/flags/size.rs
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ mod test {

#[test]
#[should_panic]
fn test_from_arg_matches_unknonwn() {
fn test_from_arg_matches_unknown() {
let argv = ["lsd", "--size", "unknown"];
let _ = app::build().get_matches_from_safe(argv).unwrap();
}
Expand Down

0 comments on commit 385501e

Please sign in to comment.