magnumripper/JohnTheRipper — pull request #130 by frank-dittrich (2012-12-16 12:48:32+00:00)
Title: Fix bash completion for --subformat

I can't test this on OS X, but for Linux this works:

$ ./john -su[tab]
completes to
$ ./john --subformat=
(without a trailing space) and
$ ./john --subformat=[tab][tab]
lists these possible completions:
bcrypt descrypt md5crypt sha256crypt sha512crypt