mirror of
https://github.com/typst/typst
synced 2025-07-28 23:07:55 +08:00
Make --target
optional
This commit is contained in:
parent
fee95dd0b0
commit
54809020bf
@ -152,7 +152,7 @@ pub struct QueryCommand {
|
|||||||
pub pretty: bool,
|
pub pretty: bool,
|
||||||
|
|
||||||
/// The target to compile for.
|
/// The target to compile for.
|
||||||
#[clap(long)]
|
#[clap(long, default_value_t)]
|
||||||
pub target: Target,
|
pub target: Target,
|
||||||
|
|
||||||
/// World arguments.
|
/// World arguments.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user