diff options
| author | Alex Rawson <ajzecrom@gmail.com> | 2024-09-27 03:52:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-27 08:52:52 +0000 |
| commit | ba95baa7e16d9d48cd0c60e3673fc6be7dcb3dc6 (patch) | |
| tree | b62d4422b716fe2584cb07c152a4e78b2d10f0cb /crates | |
| parent | 93a5b712b1919859fa526e989477db2e7256689f (diff) | |
Don't include "update" in help output if self-update disabled (#4940)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/typst-cli/src/args.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/args.rs b/crates/typst-cli/src/args.rs index 49761d8f..d1cbefae 100644 --- a/crates/typst-cli/src/args.rs +++ b/crates/typst-cli/src/args.rs @@ -60,7 +60,7 @@ pub enum Command { Fonts(FontsCommand), /// Self update the Typst CLI - #[cfg_attr(not(feature = "self-update"), doc = " (disabled)")] + #[cfg_attr(not(feature = "self-update"), clap(hide = true))] Update(UpdateCommand), } |
