Skip to content

Commit f7c5146

Browse files
typo fix
1 parent 7068987 commit f7c5146

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

SoftLayer/CLI/core.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def get_version_message(ctx, param, value):
102102
help="Use demo data instead of actually making API calls")
103103
@click.option('--version', is_flag=True, expose_value=False, is_eager=True, callback=get_version_message,
104104
help="Show version information.", allow_from_autoenv=False,)
105-
@click.option('-a', '--account', help="Account Id")
105+
@click.option('--account', '-a', help="Account Id")
106106
@environment.pass_env
107107
def cli(env,
108108
format='table',
@@ -111,7 +111,7 @@ def cli(env,
111111
proxy=None,
112112
really=False,
113113
demo=False,
114-
account_id=None,
114+
account=None,
115115
**kwargs):
116116
"""Main click CLI entry-point."""
117117

@@ -134,7 +134,8 @@ def cli(env,
134134
env.vars['_timings'] = SoftLayer.DebugTransport(env.client.transport)
135135
env.vars['verbose'] = verbose
136136
env.client.transport = env.vars['_timings']
137-
env.client.account_id = account_id
137+
print("Account ID is now: {}".format(account))
138+
env.client.account_id = account
138139

139140

140141
@cli.result_callback()

0 commit comments

Comments
 (0)