Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix typo #753

Merged
merged 1 commit into from
Oct 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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