Skip to content

Commit

Permalink
Merge pull request #70 from oleks/master
Browse files Browse the repository at this point in the history
Consistently use -c as shorthand for --ssh_cmd
  • Loading branch information
jesseshieh committed Oct 2, 2020
2 parents c31f443 + d1b1c30 commit 118a5f4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions gigalixir/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def remote_console(ctx, app_name, ssh_opts, ssh_cmd):
@click.option('-a', '--app_name', envvar="GIGALIXIR_APP")
@click.argument('command', nargs=-1)
@click.option('-o', '--ssh_opts', default="", help='Command-line options to pass to ssh.')
@click.option('-o', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.option('-c', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.pass_context
@report_errors
@detect_app_name
Expand All @@ -364,7 +364,7 @@ def ps_run(ctx, app_name, ssh_opts, ssh_cmd, command):
@click.option('-a', '--app_name', envvar="GIGALIXIR_APP")
@click.argument('command', nargs=-1)
@click.option('-o', '--ssh_opts', default="", help='Command-line options to pass to ssh.')
@click.option('-o', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.option('-c', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.pass_context
@report_errors
@detect_app_name
Expand All @@ -378,7 +378,7 @@ def ssh(ctx, app_name, ssh_opts, ssh_cmd, command):
@click.option('-a', '--app_name', envvar="GIGALIXIR_APP")
@click.argument('distillery_command', nargs=-1)
@click.option('-o', '--ssh_opts', default="", help='Command-line options to pass to ssh.')
@click.option('-o', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.option('-c', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.pass_context
@report_errors
@detect_app_name
Expand Down Expand Up @@ -417,7 +417,7 @@ def run(ctx, app_name, command):
@click.option('-a', '--app_name', envvar="GIGALIXIR_APP")
@click.option('-m', '--migration_app_name', default=None, help='For umbrella apps, specify which inner app to migrate.')
@click.option('-o', '--ssh_opts', default="", help='Command-line options to pass to ssh.')
@click.option('-o', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.option('-c', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.pass_context
@report_errors
@detect_app_name
Expand Down Expand Up @@ -1063,7 +1063,7 @@ def signup(ctx, email, password, accept_terms_of_service_and_privacy_policy):
@click.option('-a', '--app_name', envvar="GIGALIXIR_APP")
@click.option('-c', '--cookie')
@click.option('-o', '--ssh_opts', default="", help='Command-line options to pass to ssh.')
@click.option('-o', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.option('-c', '--ssh_cmd', default="ssh", help='Which ssh command to use.')
@click.pass_context
@report_errors
@detect_app_name
Expand Down

0 comments on commit 118a5f4

Please sign in to comment.