Skip to content

Commit

Permalink
sort things
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Nov 13, 2024
1 parent c3271b9 commit d83db49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bbot/scanner/preset/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ def create_parser(self, *args, **kwargs):
"--modules",
nargs="+",
default=[],
help=f'Modules to enable. Choices: {",".join(self.preset.module_loader.scan_module_choices)}',
help=f'Modules to enable. Choices: {",".join(sorted(self.preset.module_loader.scan_module_choices))}',
metavar="MODULE",
)
modules.add_argument("-l", "--list-modules", action="store_true", help=f"List available modules.")
Expand All @@ -232,7 +232,7 @@ def create_parser(self, *args, **kwargs):
"--flags",
nargs="+",
default=[],
help=f'Enable modules by flag. Choices: {",".join(self.preset.module_loader.flag_choices)}',
help=f'Enable modules by flag. Choices: {",".join(sorted(self.preset.module_loader.flag_choices))}',
metavar="FLAG",
)
modules.add_argument("-lf", "--list-flags", action="store_true", help=f"List available flags.")
Expand Down

0 comments on commit d83db49

Please sign in to comment.