mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 07:46:12 +03:00
Clarify CLI vs. Keybind Actions documentation
https://github.com/ghostty-org/ghostty/discussions/4107#discussioncomment-11699228
This commit is contained in:
@ -63,7 +63,7 @@ pub fn run(alloc: Allocator) !u8 {
|
||||
try stdout.writeAll(
|
||||
\\
|
||||
\\Specify `+<action> --help` to see the help for a specific action,
|
||||
\\where `<action>` is one of actions listed below.
|
||||
\\where `<action>` is one of actions listed above.
|
||||
\\
|
||||
);
|
||||
|
||||
|
@ -20,8 +20,9 @@ pub const Options = struct {
|
||||
}
|
||||
};
|
||||
|
||||
/// The `list-actions` command is used to list all the available keybind actions
|
||||
/// for Ghostty.
|
||||
/// The `list-actions` command is used to list all the available keybind
|
||||
/// actions for Ghostty. These are distinct from the CLI Actions which can
|
||||
/// be listed via `+help`
|
||||
///
|
||||
/// The `--docs` argument will print out the documentation for each action.
|
||||
pub fn run(alloc: Allocator) !u8 {
|
||||
|
@ -49,7 +49,8 @@ pub fn main() !MainReturn {
|
||||
|
||||
error.InvalidAction => try stderr.print(
|
||||
"Error: unknown CLI action specified. CLI actions are specified with\n" ++
|
||||
"the '+' character.\n",
|
||||
"the '+' character.\n\n" ++
|
||||
"All valid CLI actions can be listed with `ghostty +help`\n",
|
||||
.{},
|
||||
),
|
||||
|
||||
|
Reference in New Issue
Block a user