Skip to content

Commit 284b6b3

Browse files
committed
require --dll and --function args
1 parent 498d052 commit 284b6b3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pysqlrecon/modules/clr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
@app.callback(invoke_without_command=True)
1818
def main(
1919
ctx: typer.Context,
20-
dll: Path = typer.Option(None, "--dll", dir_okay=False, readable=True, help=".NET DLL to load into stored procedure"),
21-
function: str = typer.Option(None, "--function", help="Function within .NET DLL to execute")):
20+
dll: Path = typer.Option(..., "--dll", dir_okay=False, readable=True, help=".NET DLL to load into stored procedure"),
21+
function: str = typer.Option(..., "--function", help="Function within .NET DLL to execute")):
2222

2323
pysqlrecon: PySqlRecon = ctx.obj['pysqlrecon']
2424

0 commit comments

Comments
 (0)