Mention macOS' open in the CLI help messages.

This commit is contained in:
Kat
2025-03-21 19:10:52 +11:00
parent 1980f9aed4
commit 9a9bc43a9b
2 changed files with 6 additions and 1 deletions

View File

@@ -51,7 +51,9 @@ pub fn run(alloc: Allocator) !u8 {
\\`ghostty -e top` will run the `top` command inside the terminal.
\\
\\On macOS, launching the terminal emulator from the CLI is not
\\supported and only actions are supported.
\\supported and only actions are supported. Use `open -na Ghostty.app`
\\instead, or `open -na ghostty.app --args --foo=bar --baz=quz` to pass
\\arguments.
\\
\\Available actions:
\\

View File

@@ -84,6 +84,9 @@ pub fn main() !MainReturn {
\\(i.e. Ghostty.app on macOS). This CLI can be used to perform various
\\actions such as inspecting the version, listing fonts, etc.
\\
\\On macOS, the terminal can also be launched using `open -na Ghostty.app`,
\\or `open -na Ghostty.app --args --foo=bar --baz=qux` to pass arguments.
\\
\\We don't have proper help output yet, sorry! Please refer to the
\\source code or Discord community for help for now. We'll fix this in time.
\\