From 385501ebb0ac26ea1b25102ba4506e450343d668 Mon Sep 17 00:00:00 2001 From: Zhizhen He Date: Thu, 13 Oct 2022 20:29:05 +0800 Subject: [PATCH] chore: fix typo Signed-off-by: Zhizhen He --- README.md | 6 +++--- src/flags/hyperlink.rs | 2 +- src/flags/icons.rs | 2 +- src/flags/size.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9c8e0990c..67ede77b9 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 @@ -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` 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 diff --git a/src/flags/hyperlink.rs b/src/flags/hyperlink.rs index bee8ad716..bc9a706f0 100644 --- a/src/flags/hyperlink.rs +++ b/src/flags/hyperlink.rs @@ -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!( diff --git a/src/flags/icons.rs b/src/flags/icons.rs index 5db45885e..5f1a746da 100644 --- a/src/flags/icons.rs +++ b/src/flags/icons.rs @@ -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!( diff --git a/src/flags/size.rs b/src/flags/size.rs index caa45a867..cc1fcb958 100644 --- a/src/flags/size.rs +++ b/src/flags/size.rs @@ -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(); }