diff --git a/http-host.py b/http-host.py index 356a747..14f6462 100755 --- a/http-host.py +++ b/http-host.py @@ -19,7 +19,7 @@ def cli(): @cli.command() @common_options -def http_host_static(hostname, user, port, noninteractive): +def init_static(hostname, user, port, noninteractive): if not noninteractive and not click.confirm(f'Run script on {hostname}?'): return @@ -33,7 +33,7 @@ def http_host_static(hostname, user, port, noninteractive): @cli.command() @common_options -def http_host_autoupdate(hostname, user, port, noninteractive): +def init_autoupdate(hostname, user, port, noninteractive): if not noninteractive and not click.confirm(f'Run script on {hostname}?'): return @@ -53,7 +53,7 @@ def http_host_autoupdate(hostname, user, port, noninteractive): @cli.command() @common_options -def http_host_sync(hostname, user, port, noninteractive): +def sync(hostname, user, port, noninteractive): if not noninteractive and not click.confirm(f'Run script on {hostname}?'): return