Tab size short option changes from -t to -b
authorJonas Fonseca <fonseca@diku.dk>
Sun, 28 May 2006 01:02:19 +0000 (03:02 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Sun, 28 May 2006 01:02:19 +0000 (03:02 +0200)
tig.c

diff --git a/tig.c b/tig.c
index b08d3f7..0237cb0 100644 (file)
--- 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")] == '=') {