Skip to content

Commit 7821146

Browse files
committed
fix: 🐛 generate_license keyword argument name
Closes: #32
1 parent 79fe3e8 commit 7821146

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

pyencrypt/cli.py

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,20 @@ def generate_loader(ctx, key):
299299
"-k", "--key", required=True, help="Your encryption key.", type=CustomParamType.KEY
300300
)
301301
@click.option(
302-
"-m", "--bind-mac", help="Your mac address.", type=CustomParamType.MAC_ADDR
302+
"-m",
303+
"--bind-mac",
304+
"mac",
305+
default=None,
306+
help="Your mac address.",
307+
type=CustomParamType.MAC_ADDR,
303308
)
304309
@click.option(
305-
"-4", "--bind-ipv4", help="Your ipv4 address.", type=CustomParamType.IPV4_ADDR
310+
"-4",
311+
"--bind-ipv4",
312+
"ipv4",
313+
default=None,
314+
help="Your ipv4 address.",
315+
type=CustomParamType.IPV4_ADDR,
306316
)
307317
@click.option(
308318
"-b",

0 commit comments

Comments
 (0)