X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=aft.c;h=df295246db0cf1d1d6e3d0b202d43c86332db0f6;hb=749501845cae1877a0b44a9ff86b6dbaa97fbc7c;hp=f14440e6fb903548e25ccfdf611f4c2f2881aa49;hpb=06d0c50525fc14e8127916481a74c14a2f7098af;p=paraslash.git diff --git a/aft.c b/aft.c index f14440e6..df295246 100644 --- a/aft.c +++ b/aft.c @@ -1410,10 +1410,14 @@ int com_ls(struct command_context *cc) return -E_AFT_SYNTAX; } } - if (!strcmp(arg, "-p")) { + if (!strcmp(arg, "-p") || !strcmp(arg, "-F")) { flags |= LS_FLAG_FULL_PATH; continue; } + if (!strcmp(arg, "-b")) { + flags &= ~LS_FLAG_FULL_PATH; + continue; + } if (!strcmp(arg, "-a")) { flags |= LS_FLAG_ADMISSIBLE_ONLY; continue;