mirror of https://github.com/stelzo/typst.git
Don't include "update" in help output if self-update disabled (#4940)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
This commit is contained in:
parent
93a5b712b1
commit
ba95baa7e1
|
|
@ -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),
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue