Commit b447948c by Florian Bruhin

Improve help output for --dd

Make it clear that ext/cmd are optional and that the type can be a regular
expression.
parent 5f58fadb
...@@ -59,9 +59,10 @@ class Extractor(Module): ...@@ -59,9 +59,10 @@ class Extractor(Module):
Option(short='D', Option(short='D',
long='dd', long='dd',
type=list, type=list,
dtype='type:ext:cmd', dtype='type[:ext[:cmd]]',
kwargs={'manual_rules': [], 'enabled': True}, kwargs={'manual_rules': [], 'enabled': True},
description='Extract <type> signatures, give the files an extension of <ext>, and execute <cmd>'), description='Extract <type> signatures (regular expression), give the files an extension of <ext>, '
'and execute <cmd>'),
Option(short='M', Option(short='M',
long='matryoshka', long='matryoshka',
kwargs={'matryoshka': 8}, kwargs={'matryoshka': 8},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment