]> git.tuebingen.mpg.de Git - tfortune.git/commitdiff
Fix --basedir completion.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 20 Jan 2019 21:01:35 +0000 (22:01 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 20 Jan 2019 21:01:35 +0000 (22:01 +0100)
Silly braino.

tfortune.c

index 29243fc764f02533e7390e585a45d1f8b74d51d1..e11c6da7556e7f2b613b1be7829bc3914b8d62a6 100644 (file)
@@ -1448,7 +1448,7 @@ static int com_compgen(void)
                        }
                        break;
                case WT_LONG_OPT_WITH_ARG:
-                       if (strcmp(prev, "--basename") == 0) {
+                       if (strcmp(prev, "--basedir") == 0) {
                                activate_dirname_completion();
                                return 1;
                        }