Repository navigation
v7.10.0
Breaking: exit codes changed
Scripts can now tell a usage error from a runtime failure. Check any script that tests for a specific bkmr exit code.
| Code | Meaning | Before |
|---|---|---|
| 0 | Success | |
| 1 | Valid command, but the operation failed | 64 |
| 64 | Usage error or invalid config file | Argument parser errors exited 2 |
| 65 | import-files found a duplicate name without --update |
Unchanged |
| 130 | Declined confirmation | 0 or 64 |
Leaving the fuzzy finder with Esc still exits 0.
Fixes
import-filesnow fails on a missing path instead of logging a warning and exiting 0. With--delete-missing, a mistyped path could otherwise treat its bookmarks as deleted.- An unknown bookmark ID in
add --cloneis now reported as a runtime failure rather than invalid input.
Other changes
- Declining
clear-embeddingsnow printsError: Command execution failed: Operation aborted by userinstead ofAborted. - Developer docs were corrected against the code. See
ERROR_HANDLING.mdfor the exit code rules.
Full Changelog: v7.9.1...v7.10.0