`quarto preview -h` shows pandoc help and does not stop execution of preview
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 新手友好度
- 55/100
- Issue 類型
- 缺陷
- 描述清晰度
- 描述清楚
- 活躍度
- 活躍
- 技術堆疊
- deno, typescript
- 領域
- cli
研究方向
Reproduce with quarto preview -h in any Quarto project and compare it with quarto render -h, which shows the expected help. The payload names only the quarto preview command and its -h flag, so start from how that command parses flags and where unrecognised flags are passed through to pandoc. Done when -h prints Quarto's help and exits without starting a preview or rendering the document.
由索引模型根據 Issue 內容生成。
描述
I have:
- searched the issue tracker for similar issues
- installed the latest version of Quarto CLI
- formatted my issue following the Bug Reports guide
Bug description
For example, quarto preview --port 7620 -h outputs
Preparing to preview
[1/1] part_2/part_2.qmd
pandoc [OPTIONS] [FILES]
-f FORMAT, -r FORMAT --from=FORMAT, --read=FORMAT
-t FORMAT, -w FORMAT --to=FORMAT, --write=FORMAT
-o FILE --output=FILE
--data-dir=DIRECTORY
[...]
and previews the document.
Steps to reproduce
Run quarto preview -h in any Quarto project.
Actual behavior
For example, quarto preview --port 7620 -h outputs
Preparing to preview
[1/1] part_2/part_2.qmd
pandoc [OPTIONS] [FILES]
-f FORMAT, -r FORMAT --from=FORMAT, --read=FORMAT
-t FORMAT, -w FORMAT --to=FORMAT, --write=FORMAT
-o FILE --output=FILE
--data-dir=DIRECTORY
[...]
and previews the document.
Expected behavior
Help message overrides all other flags, no preview or execution.
Your environment
MacOS 27.2.0
Quarto runs from CLI.
Quarto check output
Quarto 1.11.9
[✓] Checking environment information...
Quarto cache location: /Users/tok/Library/Caches/quarto
Project root: /Users/tok/imperial_computation/optimisation_coursework/src
Project config: /Users/tok/imperial_computation/optimisation_coursework/src/_quarto.yml
[✓] Checking versions of quarto binary dependencies...
Pandoc version 3.10.0: OK
Dart Sass version 1.101.0: OK
Deno version 2.9.8: OK
Typst version 0.15.1: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
Version: 1.11.9
Path: /Applications/quarto/bin
[✓] Checking tools....................OK
TinyTeX: v2026.11
Chrome Headless Shell: (not installed)
VeraPDF: (not installed)
[✓] Checking LaTeX....................OK
Using: TinyTex
Path: /Users/tok/Library/TinyTeX/bin/universal-darwin
Version: 2026
[✓] Checking Chrome Headless....................OK
Using: Chrome found on system
Path: /Applications/Microsoft Edge.app/Contents/MacOS/Microsoft Edge
Source: MacOS known location
[✓] Checking basic markdown render....OK
[✓] Checking R installation...........(None)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
[✓] Checking Python 3 installation....OK
Version: 3.13.12
Path: /Users/tok/imperial_computation/optimisation_coursework/.venv/bin/python3
Jupyter: 5.9.1
Kernels: python3, julia-1.12
(\) Checking Jupyter engine render....[IPKernelApp] WARNING | Kernel is running over TCP without encryption. All communication (including code and outputs) is sent in plain text and is susceptible to eavesdropping. Use IPC transport or launch with kernel manager-provisioned CurveZMQ keys to enable transport encryption.
[✓] Checking Jupyter engine render....OK
[✓] Checking Julia installation...
- 主要語言
- JavaScript
- 星號
- 6.2k
- 分支
- 492
- 平均合併
- 15 小時 15 分鐘
- 30 天內合併 PR
- 94
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
quarto-dev/quarto-cli 的其他 Issue
-
bootstrap enhancement themes
難度 2/5 1-3 小時 新手友好度 70/100
quarto-dev/quarto-cli#15421 · 2 則留言 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 85/100
quarto-dev/quarto-cli#15408 ·
維護者通常 1 天內回覆
-
accessibility bug
難度 2/5 1-3 小時 新手友好度 79/100
quarto-dev/quarto-cli#15401 · 1 個 reaction ·
維護者通常 1 天內回覆
-
bug callouts docx regression
難度 2/5 1-3 小時 新手友好度 81/100
quarto-dev/quarto-cli#15394 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug lightbox
難度 2/5 1-3 小時 新手友好度 76/100
quarto-dev/quarto-cli#15393 ·
維護者通常 1 天內回覆
查看 quarto-dev/quarto-cli 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 75/100
testing-library/jest-dom#749 ·
-
bug
難度 2/5 1-3 小時 新手友好度 65/100
-
ernst:4-klein prio:3-wacht ui
難度 2/5 1-3 小時 新手友好度 70/100
NewspeedyNL/PidLane#767 ·
維護者通常 1 天內回覆
-
bug for-agent ready
難度 2/5 1-3 小時 新手友好度 62/100
WenyuChiou/agent-board#1812 · 2 則留言 ·
維護者通常 1 天內回覆
-
bug help wanted Should Have ui
難度 2/5 1-3 小時 新手友好度 82/100
hannahro15/Musical-Match-Saga#327 · 1 則留言 ·
維護者通常 1 天內回覆