Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 24 May 2012 09:18:35 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Fwd: bash auto-completion for john

On 05/23/2012 10:32 PM, magnum wrote:
> I committed this. However, it seems to have the following glitch:
> 
> ../run/john -dev[TAB][TAB]
> 
> becomes:
> 
> ../run/john --device=--device=

Fixed now, see attached diff.

I would have preferred to list
--device=LIST --device=N
as possible completions, but I don't know yet how to get this done.
So I changed the logic to just list
LIST  N

Frank

View attachment "john.bash_completion.diff" of type "text/x-patch" (481 bytes)

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ