Skip to content

Commit 9623d1f

Browse files
authored
fix use_profile func to take new expected arg name (#76)
1 parent 8d07ed3 commit 9623d1f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/code42cli/cmds/profile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def load_subcommands():
6565

6666
delete = Command(
6767
u"delete",
68-
"Deletes a profile and its stored password (if any).",
68+
u"Deletes a profile and its stored password (if any).",
6969
u"{} {}".format(usage_prefix, u"delete <profile-name>"),
7070
handler=delete_profile,
7171
)
@@ -135,9 +135,9 @@ def list_profiles(*args):
135135
logger.print_info(str(profile))
136136

137137

138-
def use_profile(profile):
138+
def use_profile(name):
139139
"""Changes the default profile to the given one."""
140-
cliprofile.switch_default_profile(profile)
140+
cliprofile.switch_default_profile(name)
141141

142142

143143
def delete_profile(name):

0 commit comments

Comments
 (0)