mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-17 17:26:09 +03:00
cli: note --plain
This commit is contained in:
@ -43,6 +43,9 @@ pub const Options = struct {
|
|||||||
///
|
///
|
||||||
/// The `--default` argument will print out all the default keybinds configured
|
/// The `--default` argument will print out all the default keybinds configured
|
||||||
/// for Ghostty
|
/// for Ghostty
|
||||||
|
///
|
||||||
|
/// The `--plain` flag will disable formatting and make the output more
|
||||||
|
/// friendly fro Unix tooling. This is default when not printing to a tty.
|
||||||
pub fn run(alloc: Allocator) !u8 {
|
pub fn run(alloc: Allocator) !u8 {
|
||||||
var opts: Options = .{};
|
var opts: Options = .{};
|
||||||
defer opts.deinit();
|
defer opts.deinit();
|
||||||
|
Reference in New Issue
Block a user