Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 30 May 2013 17:22:47 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: bash completion for format classes/wildcards (was: 333)

On 30 May, 2013, at 15:28 , magnum <john.magnum@...hmail.com> wrote:
>> How about re-listing --format with --list=hidden-options, like this:
>> 
>> $ ../run/john --list=hidden-options 
>> ...
>> --format=CLASS            cpu, gpu, cuda, opencl, dynamic
>> --subformat=FORMAT        pick a benchmark format for --format=crypt
>> ...
>> 
>> The printed list would reflect what's actually usable for this build.
> 
> I added this. Here is the output for a GPU build:
> 
> --format=CLASS            valid classes: dynamic, cpu, gpu, cuda, opencl
> 
> If this line exists, the actual list should be used for bash completion and wildcards will be supported too. I opted to omit printing cpu for a cpu-only build, although it is valid (but a no-op).

It seems this broke the current bash-completion for --format, so it needs some kind of fix.

magnum

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.