From d2c12ffc0c9262829a6dee3a5ed57fc238e88304 Mon Sep 17 00:00:00 2001 From: up-n-atom Date: Fri, 15 Sep 2023 02:06:09 -0400 Subject: [PATCH] Fix MAC abbreviation prompt --- xmo-remote-client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmo-remote-client.py b/xmo-remote-client.py index 1d7df80..5a589e6 100755 --- a/xmo-remote-client.py +++ b/xmo-remote-client.py @@ -147,7 +147,7 @@ def validate_mac_address(ctx: click.Context, param: click.Parameter, value: str) @cli.command() -@click.option('-m', '--mac-address', callback=validate_mac_address, prompt=True) +@click.option('-m', '--mac-address', callback=validate_mac_address, prompt='MAC Address') @click.pass_obj async def enable_advanced_dmz(client: SagemcomClient, mac_address: str) -> None: await client.set_value_by_xpath('Device/Services/BellNetworkCfg/AdvancedDMZ/Enable', False)