Remove hack to make --message argument act like --title argument in the
git_cl.py script.  See http://goo.gl/JGg0Z for details.

BUG=None

Review URL: https://chromiumcodereview.appspot.com/14793006

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@202864 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/git_cl.py b/git_cl.py
index 6b735ad..7803217 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -1238,11 +1238,8 @@
   if cl.GetIssue():
     if options.title:
       upload_args.extend(['--title', options.title])
-    elif options.message:
-      # TODO(rogerta): for now, the -m option will also set the --title option
-      # for upload.py.  Soon this will be changed to set the --message option.
-      # Will wait until people are used to typing -t instead of -m.
-      upload_args.extend(['--title', options.message])
+    if options.message:
+      upload_args.extend(['--message', options.message])
     upload_args.extend(['--issue', str(cl.GetIssue())])
     print ("This branch is associated with issue %s. "
            "Adding patch to that issue." % cl.GetIssue())
@@ -1362,14 +1359,6 @@
   if options.target_branch and not settings.GetIsGerrit():
     parser.error('Use --target_branch for non gerrit repository.')
 
-  # Print warning if the user used the -m/--message argument.  This will soon
-  # change to -t/--title.
-  if options.message:
-    print >> sys.stderr, (
-        '\nWARNING: Use -t or --title to set the title of the patchset.\n'
-        'In the near future, -m or --message will send a message instead.\n'
-        'See http://goo.gl/JGg0Z for details.\n')
-
   if is_dirty_git_tree('upload'):
     return 1