Closed frank-dittrich closed 8 years ago
@magnum: bash completion also knew about LENGTH.
$ ./john --markov=[tab][tab]
LEVEL[:START[:END[:LENGTH]]] MODE:LEVEL[:START[:END[:LENGTH]]]
MODE default
I think, instead of just dropping [:LENGTH]
here, MODE
, LEVEL[:START[:END[:LENGTH]]]
, and MODE:LEVEL[:START[:END[:LENGTH]]]
should be dropped completely, and just the list of markov modes should be used for bash completion.
My bad. I wasn't using latest john.bash_completion, but some older version from another directory. Latest bash completion doesn't mention LENGTH, but we might want to ignore anything but markov mode names.
For still being able to get a "usage reminder" I propose we keep the current behavior for -markov[tab][tab]
but change to just listing the modes with -markov=[tab][tab]
(with an equal sign).
Either that, or keep it as-is.
doc/MARKOV
run/john.conf:
bash completion:
Mention --max-length and --min-length instead.