diff --git a/bbot/scanner/preset/args.py b/bbot/scanner/preset/args.py index 986fd909f5..3c40a94bc8 100644 --- a/bbot/scanner/preset/args.py +++ b/bbot/scanner/preset/args.py @@ -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.") @@ -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.") @@ -289,7 +289,7 @@ def create_parser(self, *args, **kwargs): "--output-modules", nargs="+", default=[], - help=f'Output module(s). Choices: {",".join(self.preset.module_loader.output_module_choices)}', + help=f'Output module(s). Choices: {",".join(sorted(self.preset.module_loader.output_module_choices))}', metavar="MODULE", ) output.add_argument("--json", "-j", action="store_true", help="Output scan data in JSON format")