Просмотр исходного кода

Merge pull request #140 from gierens/fix-man-width

Fix missing colon in manpage and some left-over occurences of "exa"
Christina Sørensen 2 лет назад
Родитель
Сommit
957a713ae5
3 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      man/eza.1.md
  2. 1 1
      src/main.rs
  3. 2 2
      src/options/help.rs

+ 1 - 1
man/eza.1.md

@@ -79,7 +79,7 @@ Valid settings are ‘`always`’, ‘`automatic`’, and ‘`never`’.
 : Display entries as hyperlinks
 
 `-w`, `--width=COLS`
-Set screen width in columns.
+: Set screen width in columns.
 
 
 FILTERING AND SORTING OPTIONS

+ 1 - 1
src/main.rs

@@ -104,7 +104,7 @@ fn main() {
         }
 
         OptionsResult::InvalidOptions(error) => {
-            eprintln!("exa: {error}");
+            eprintln!("eza: {error}");
 
             if let Some(s) = error.suggestion() {
                 eprintln!("{s}");

+ 2 - 2
src/options/help.rs

@@ -6,11 +6,11 @@ use crate::options::parser::MatchedFlags;
 
 
 static USAGE_PART1: &str = "Usage:
-  exa [options] [files...]
+  eza [options] [files...]
 
 META OPTIONS
   -?, --help         show list of command-line options
-  -v, --version      show version of exa
+  -v, --version      show version of eza
 
 DISPLAY OPTIONS
   -1, --oneline      display one entry per line