diff --git a/docs/src/usage.txt b/docs/src/usage.txt index 3f5f24a..85d089c 100644 --- a/docs/src/usage.txt +++ b/docs/src/usage.txt @@ -26,3 +26,5 @@ OPTIONS: --color 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/. diff --git a/src/main.rs b/src/main.rs index 03a6d68..7b74e64 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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)]