Skip to content

Commit

Permalink
proper variable name for rename command
Browse files Browse the repository at this point in the history
  • Loading branch information
Jelmerro committed Dec 21, 2018
1 parent bcb9b0c commit ec5ad69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions carafe
Original file line number Diff line number Diff line change
Expand Up @@ -450,11 +450,11 @@ if __name__ == "__main__":
"-l", "--location",
help="Location of the executable inside the carafe to start")
# Rename
sub_copy = sub.add_parser(
sub_rename = sub.add_parser(
"rename", help="rename an existing carafe",
usage="carafe <carafe_name> rename <new_name>",
description="Use 'rename' to change the name of an existing carafe")
sub_copy.add_argument("newname", help="New name of the carafe")
sub_rename.add_argument("newname", help="New name of the carafe")
# Copy
sub_copy = sub.add_parser(
"copy", help="copy an existing carafe",
Expand Down

0 comments on commit ec5ad69

Please sign in to comment.