summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2018-10-15 09:27:17 -0400
committerGitHub <noreply@github.com>2018-10-15 09:27:17 -0400
commit91ff185bc9491e20bdb10c61e4072d14fd63ff20 (patch)
tree54fde81d0e3ff7ddadff30c74c7fca5903e4ff65 /tasks.py
parent9435003a915e15defcaa24784cf0f3b04f9dd3a8 (diff)
parentd99ad5153994c3ae283d1550fca882d1f210930d (diff)
downloadcmd2-git-91ff185bc9491e20bdb10c61e4072d14fd63ff20.tar.gz
Merge pull request #581 from python-cmd2/invoke_tag
Make name a required argument for the "invoke tag" command
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks.py b/tasks.py
index d6dc43c9..46cd57c1 100644
--- a/tasks.py
+++ b/tasks.py
@@ -176,7 +176,7 @@ def clean_all(context):
namespace_clean.add_task(clean_all, 'all')
@invoke.task
-def tag(context, name='', message=''):
+def tag(context, name, message=''):
"Add a Git tag and push it to origin"
# If a tag was provided on the command-line, then add a Git tag and push it to origin
if name: