Skip to content

Commit

Permalink
Update to clap 3 beta 4
Browse files Browse the repository at this point in the history
This also requires a bump to Rust 1.54.
  • Loading branch information
dbrgn committed Oct 16, 2021
1 parent 335d8d0 commit de79863
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 23 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
rust: [1.53, stable]
rust: [1.54, stable]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
toolchain: 1.53
toolchain: 1.54
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
Expand Down
27 changes: 16 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ path = "src/main.rs"
ansi_term = "0.12.0"
app_dirs = { version = "2", package = "app_dirs2" }
atty = "0.2"
clap = { version = "3.0.0-beta.2" }
clap = { version = "3.0.0-beta.4" }
env_logger = { version = "0.9", optional = true }
flate2 = "1"
log = "0.4"
Expand Down
2 changes: 1 addition & 1 deletion clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
msrv = "1.53"
msrv = "1.54"
18 changes: 10 additions & 8 deletions docs/src/usage.txt
Original file line number Diff line number Diff line change
@@ -1,26 +1,28 @@
tealdeer 1.4.1

Danilo Bargen <mail@dbrgn.ch>

A fast TLDR client

USAGE:
tldr [OPTIONS] [command]...
tldr [OPTIONS] [COMMAND]...

ARGS:
<command>... The command to show (e.g. `tar` or `git log`)
<COMMAND>... The command to show (e.g. `tar` or `git log`)

OPTIONS:
-h, --help Print help information
-l, --list List all commands in the cache
-f, --render <render> Render a specific markdown file
-o, --os <os> Override the operating system [linux, macos, sunos, windows]
-L, --language <language> Override the language
-f, --render <RENDER> Render a specific markdown file
-o, --os <OS> Override the operating system [linux, macos, sunos, windows]
-L, --language <LANGUAGE> Override the language
-u, --update Update the local cache
-c, --clear-cache Clear the local cache
-p, --pager Use a pager to page output
-q, --quiet Suppress informational messages
-m, --markdown Display the raw markdown instead of rendering it
-q, --quiet Suppress informational messages
--show-paths Show file and directory paths used by tealdeer
--config-path Show config file path
--seed-config Create a basic config
--color <color> Control whether to use color [always, auto, never]
--color <COLOR> Control whether to use color [always, auto, never]
-v, --version Prints the version
-h, --help Prints help information

0 comments on commit de79863

Please sign in to comment.