diff --git a/kcidev/main.py b/kcidev/main.py index 69473e3..2d264bc 100755 --- a/kcidev/main.py +++ b/kcidev/main.py @@ -4,11 +4,11 @@ import click from kcidev.libs.common import * -from kcidev.subcommands import checkout, commit, patch, results, testretry +from kcidev.subcommands import checkout, commit, patch, maestro_results, testretry @click.group( - help="Stand alone tool for Linux Kernel developers and maintainers that can test local Linux Kernel changes on a enabled KernelCI server" + help="Stand alone tool for Linux Kernel developers and maintainers to interact with KernelCI." ) @click.version_option("0.1.0", prog_name="kci-dev") @click.option( @@ -38,7 +38,7 @@ def run(): cli.add_command(checkout.checkout) cli.add_command(commit.commit) cli.add_command(patch.patch) - cli.add_command(results.results) + cli.add_command(maestro_results.maestro_results) cli.add_command(testretry.testretry) cli() diff --git a/kcidev/subcommands/results.py b/kcidev/subcommands/maestro_results.py similarity index 95% rename from kcidev/subcommands/results.py rename to kcidev/subcommands/maestro_results.py index a6a2da0..97d138b 100644 --- a/kcidev/subcommands/results.py +++ b/kcidev/subcommands/maestro_results.py @@ -72,7 +72,7 @@ def get_nodes(url, limit, offset, filter, field): print_nodes(nodes, field) -@click.command(help="Get results") +@click.command(help="Get results directly from KernelCI's Maestro") @click.option( "--nodeid", required=False, @@ -109,7 +109,7 @@ def get_nodes(url, limit, offset, filter, field): help="Print only particular field(s) from node data", ) @click.pass_context -def results(ctx, nodeid, nodes, limit, offset, filter, field): +def maestro_results(ctx, nodeid, nodes, limit, offset, filter, field): config = ctx.obj.get("CFG") instance = ctx.obj.get("INSTANCE") url = api_connection(config[instance]["api"])