Skip to content

Commit 32a7d13

Browse files
authored
Update keymap.md
Align with changes from sxyazi/yazi#2609
1 parent fc27f51 commit 32a7d13

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/configuration/keymap.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ Exit the process.
142142

143143
| Argument/Option | Description |
144144
| --------------- | ------------------------------------------------------------------------------ |
145+
| `--code [n]` | Return with exit code `n` (indicating an error) |
145146
| `--no-cwd-file` | Don't output the current directory to the file specified by `yazi --cwd-file`. |
146147

147148
### `close` {#manager.close}
@@ -150,6 +151,7 @@ Close the current tab; if it's the last tab, exit the process instead.
150151

151152
| Argument/Option | Description |
152153
| --------------- | -------------------------------------------------------------------------------------- |
154+
| `--code [n]` | Return with exit code `n` (indicating an error) on exit. |
153155
| `--no-cwd-file` | Don't output the current directory to the file specified by `yazi --cwd-file` on exit. |
154156

155157
### `suspend` {#manager.suspend}

0 commit comments

Comments
 (0)