mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-22 16:14:18 +02:00
Help: Add a link to the online docs
This commit is contained in:
parent
6823e271a0
commit
371f1d2ace
2 changed files with 5 additions and 0 deletions
|
|
@ -26,3 +26,5 @@ OPTIONS:
|
|||
--color <WHEN> Control whether to use color [always, auto, never]
|
||||
-v, --version Print the version
|
||||
-h, --help Print help information
|
||||
|
||||
To view the user documentation, please visit https://dbrgn.github.io/tealdeer/.
|
||||
|
|
|
|||
|
|
@ -56,6 +56,9 @@ const PAGER_COMMAND: &str = "less -R";
|
|||
#[clap(setting = AppSettings::ArgRequiredElseHelp)]
|
||||
#[clap(setting = AppSettings::HelpRequired)]
|
||||
#[clap(setting = AppSettings::DeriveDisplayOrder)]
|
||||
#[clap(
|
||||
after_help = "To view the user documentation, please visit https://dbrgn.github.io/tealdeer/."
|
||||
)]
|
||||
struct Args {
|
||||
/// The command to show (e.g. `tar` or `git log`)
|
||||
#[clap(min_values = 1)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue