ref: de9a7b2e16e345b51a4b1ebed6f6138e15b268af
parent: 84ed9b307dc11af5b537743cc86aa16fda3a4455
author: cancel <cancel@cancel.fm>
date: Mon Jan 13 08:25:23 EST 2020
Remove mention of --margins from readme Still supported for now, but mostly useless clutter in the readme and usage, since you can set it from the menu/prefs and conf file.
--- a/README.md
+++ b/README.md
@@ -102,8 +102,6 @@
Usage: orca [options] [file]
General options:
- --margins <nxn> Set cosmetic margins.
- Default: 2x1
--undo-limit <number> Set the maximum number of undo steps.
If you plan to work with large files,
set this to a low number.
--- a/tui_main.c
+++ b/tui_main.c
@@ -28,8 +28,6 @@
fprintf(stderr,
"Usage: orca [options] [file]\n\n"
"General options:\n"
-" --margins <nxn> Set cosmetic margins.\n"
-" Default: 2x1\n"
" --undo-limit <number> Set the maximum number of undo steps.\n"
" If you plan to work with large files,\n"
" set this to a low number.\n"
@@ -2650,7 +2648,7 @@
//
enum {
- Argopt_margins = UCHAR_MAX + 1,
+ Argopt_margins = UCHAR_MAX + 1, // TODO remove, use conf opts only
Argopt_hardmargins,
Argopt_undo_limit,
Argopt_init_grid_size,