Skip to content

Commit

Permalink
black format
Browse files Browse the repository at this point in the history
  • Loading branch information
xmendez committed Oct 24, 2020
1 parent 7dbc014 commit d21f7d7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
7 changes: 1 addition & 6 deletions src/wfuzz/plugins/scripts/links.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,7 @@ class links(BasePlugin, DiscoveryPluginMixin):
priority = 99

parameters = (
(
"enqueue",
"True",
False,
"If True, enqueue found links.",
),
("enqueue", "True", False, "If True, enqueue found links.",),
(
"add_path",
"False",
Expand Down
16 changes: 10 additions & 6 deletions src/wfuzz/ui/console/clparser.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,16 @@ def show_plugin_ext_help(self, registrant, category="$all$"):
print(" %s" % desc_lines)
print("Parameters:")
for name, default_value, mandatory, description in plugin.parameters:
print(" {} {}{}: {}".format(
"+" if mandatory else "-",
name,
" (= %s)" % str(default_value) if default_value is not None else "",
description,
))
print(
" {} {}{}: {}".format(
"+" if mandatory else "-",
name,
" (= %s)" % str(default_value)
if default_value is not None
else "",
description,
)
)
print("\n")

sys.exit(0)
Expand Down

0 comments on commit d21f7d7

Please sign in to comment.