Browse Source

Change default margins to 2

master
cancel 6 years ago
parent
commit
f8987917d8
  1. 4
      tui_main.c

4
tui_main.c

@ -16,7 +16,7 @@ static void usage() {
"Usage: tui [options] [file]\n\n" "Usage: tui [options] [file]\n\n"
"Options:\n" "Options:\n"
" --margins <number> Add cosmetic margins.\n" " --margins <number> Add cosmetic margins.\n"
" Default: 0\n" " Default: 2\n"
" -h or --help Print this message and exit.\n" " -h or --help Print this message and exit.\n"
); );
// clang-format on // clang-format on
@ -360,7 +360,7 @@ int main(int argc, char** argv) {
{"help", no_argument, 0, 'h'}, {"help", no_argument, 0, 'h'},
{NULL, 0, NULL, 0}}; {NULL, 0, NULL, 0}};
char* input_file = NULL; char* input_file = NULL;
int margin_thickness = true; int margin_thickness = 2;
for (;;) { for (;;) {
int c = getopt_long(argc, argv, "h", tui_options, NULL); int c = getopt_long(argc, argv, "h", tui_options, NULL);
if (c == -1) if (c == -1)

Loading…
Cancel
Save