cli: note --plain

This commit is contained in:
Mitchell Hashimoto
2024-08-06 14:53:00 -07:00
parent 85f19bcd12
commit d00ab8130a

View File

@ -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();