Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Replace property arg shortcut from p to P
Browse files Browse the repository at this point in the history
  • Loading branch information
vduseev committed Jun 18, 2021
1 parent 713d5e9 commit e294471
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dbload/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def scenario(scenario_name, **kwargs):
@main.command(help="Execute a query.")
@click.argument("query_name", metavar="QUERY")
@click.option("-l", "--limit", help="Limit the number of rows displayed in the resulting tables.", type=int)
@click.option("-p", "--property", help="Property for the prepared statement.", multiple=True)
@click.option("-P", "--property", help="Property for the prepared statement.", multiple=True)
@decorate_with_common_options
def query(query_name, limit, property, **kwargs):
update_cli_args(kwargs)
Expand Down Expand Up @@ -185,7 +185,7 @@ def query(query_name, limit, property, **kwargs):
@main.command(help="Execute arbitrary SQL statement.")
@click.argument("statement")
@click.option("-l", "--limit", help="Limit the number of rows displayed in the resulting tables.", type=int)
@click.option("-p", "--property", help="Property for the prepared statement.", multiple=True)
@click.option("-P", "--property", help="Property for the prepared statement.", multiple=True)
@decorate_with_common_options
def execute(statement, limit, property, **kwargs):
update_cli_args(kwargs)
Expand Down

0 comments on commit e294471

Please sign in to comment.