magnumripper/JohnTheRipper — pull request #112 by frank-dittrich (2012-11-22 22:02:34+00:00)
Title: Bash completion: add trailing space for --nolog etc.

Bash completion should add a trailing space for options without
parameters. This didn't work for hidden options.
$ ./john -n[tab]
would complete to
$ ./john --nolog
without adding a trailing space.
(The excuse is that in older versions, all hidden options had
parameters.)
This commit fixes the problem, which otherwise would only get
worse if we move more options from the regular usage output
to the output of --list=hidden-options.

In addition, some comments have been cleaned up or reformatted.