Skip to content

Commit d82e71b

Browse files
committed
Merge pull request #1077 from smothiki/smothiki-keys-add-fix
fix(client): adjust indentation in keys_add function
2 parents 5f7e16d + 7a88613 commit d82e71b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

client/deis.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1225,8 +1225,9 @@ def keys_add(self, args):
12251225
else:
12261226
# check the specified key format
12271227
selected_key = self._parse_key(path)
1228-
if not selected_key:
1229-
return
1228+
if not selected_key:
1229+
print("usage: deis keys:add [<key>]")
1230+
return
12301231
# Upload the key to Deis
12311232
body = {
12321233
'id': selected_key.id,

0 commit comments

Comments
 (0)