From: Jonas Fonseca Date: Sun, 28 May 2006 01:02:19 +0000 (+0200) Subject: Tab size short option changes from -t to -b X-Git-Tag: tig-0.4~40 X-Git-Url: https://git.distorted.org.uk/~mdw/tig/commitdiff_plain/380ec161ae41e781c46510e9a2bc4b770f0e677f Tab size short option changes from -t to -b --- 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")] == '=') {