Skip to content

Commit

Permalink
Remove last traces of short -p pager flag (#228)
Browse files Browse the repository at this point in the history
I missed some occurrences in #217.
  • Loading branch information
dbrgn authored Dec 5, 2021
1 parent 2684727 commit 02a395a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ fn configure_pager(_: bool) {

#[cfg(target_os = "windows")]
fn configure_pager(enable_styles: bool) {
print_warning(enable_styles, "-p / --pager flag not available on Windows!");
print_warning(enable_styles, "--pager flag not available on Windows!");
}

/// The cache should get updated if this was requested by the user, or if auto
Expand Down
2 changes: 1 addition & 1 deletion zsh_tealdeer
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ _tealdeer() {
"($I -L --language)"{-L,--language}"[Override the language settings]:lang"
"($I -u --update)"{-u,--update}"[Update the local cache]"
"($I -c --clear-cache)"{-c,--clear-cache}"[Clear the local cache]"
"($I -p --pager)"{-p,--pager}"[Use a pager to page output]"
"($I)--pager[Use a pager to page output]"
"($I -r --raw)"{-r,--raw}"[Display the raw markdown instead of rendering it]"
"($I -q --quiet)"{-q,--quiet}"[Suppress informational messages]"
"($I)--show-paths[Show file and directory paths used by tealdeer]"
Expand Down

0 comments on commit 02a395a

Please sign in to comment.