From 380ec161ae41e781c46510e9a2bc4b770f0e677f Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 28 May 2006 03:02:19 +0200 Subject: [PATCH] Tab size short option changes from -t to -b --- tig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tig.c b/tig.c index b08d3f7..0237cb0 100644 --- a/tig.c +++ b/tig.c @@ -293,14 +293,14 @@ parse_options(int argc, char *argv[]) } /** - * -t[NSPACES], --tab-size[=NSPACES]:: + * -b[NSPACES], --tab-size[=NSPACES]:: * Set the number of spaces tabs should be expanded to. **/ - if (!strncmp(opt, "-t", 2) || + if (!strncmp(opt, "-b", 2) || !strncmp(opt, "--tab-size", 10)) { char *num = opt; - if (opt[1] == 't') { + if (opt[1] == 'b') { num = opt + 2; } else if (opt[STRING_SIZE("--tab-size")] == '=') { -- 2.30.2