1
Fork 0
mirror of https://github.com/RGBCube/nu_scripts synced 2025-07-30 21:57:44 +00:00

Fixed the completion of --flamegraph (#502)

This commit is contained in:
Tilen Gimpelj 2023-05-18 00:34:01 +02:00 committed by GitHub
parent ac1750246c
commit e580af935b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ export extern "typst compile" [
input: path # Path to the input file
output?: path # Path to the output file
--open # Opens the output file after compilation using the default PDF viewer
--flamegraph?: path # Produces a flamegraph of the compilation process and saves it to the given file or to `flamegraph.svg` in the current working directory
--flamegraph # Produces a flamegraph of the compilation process and saves it to the given file or to `flamegraph.svg` in the current working directory
--help(-h) # Print help
]
@ -43,7 +43,7 @@ export extern "typst watch" [
input: path # Path to the input file
output?: path # Path to the output file
--open # Opens the output file after compilation using the default PDF viewer
--flamegraph?: path # Produces a flamegraph of the compilation process and saves it to the given file or to `flamegraph.svg` in the current working directory
--flamegraph # Produces a flamegraph of the compilation process and saves it to the given file or to `flamegraph.svg` in the current working directory
--help(-h) # Print help
]