documentation: consistent format for actions help

This commit is contained in:
Anund
2025-01-03 23:53:22 +11:00
committed by Mitchell Hashimoto
parent 148a009a95
commit 168dd31367
9 changed files with 43 additions and 23 deletions

View File

@@ -15,9 +15,11 @@ pub const Options = struct {
}
};
/// The `help` command shows general help about Ghostty. You can also specify
/// `--help` or `-h` along with any action such as `+list-themes` to see help
/// for a specific action.
/// The `help` command shows general help about Ghostty. Recognized as either
/// `-h, `--help`, or like other actions `+help`.
///
/// You can also specify `--help` or `-h` along with any action such as
/// `+list-themes` to see help for a specific action.
pub fn run(alloc: Allocator) !u8 {
var opts: Options = .{};
defer opts.deinit();