From: Andre Noll Date: Sun, 20 Jan 2019 21:01:35 +0000 (+0100) Subject: Fix --basedir completion. X-Git-Tag: v1.0.1~15 X-Git-Url: http://git.tuebingen.mpg.de/?p=tfortune.git;a=commitdiff_plain;h=6275dd846813572558b81d96fe04da9a26a73306 Fix --basedir completion. Silly braino. --- diff --git a/tfortune.c b/tfortune.c index 29243fc..e11c6da 100644 --- a/tfortune.c +++ b/tfortune.c @@ -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; }