changeset 736:b48be97bd6fd

gclear: drop empty options and move help text to docstring The synopsis is meant for a command description, not help text.
author Siddharth Agarwal <sid0@fb.com>
date Mon, 19 May 2014 21:09:30 -0700
parents 351213785c4a
children 5d35a5c12b02
files hggit/__init__.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/__init__.py
+++ b/hggit/__init__.py
@@ -131,8 +131,9 @@
     '''export commits from Mercurial to Git'''
     repo.githandler.export_commits()
 
-@command('gclear', [], _('Clears out the Git cached data'))
+@command('gclear')
 def gclear(ui, repo):
+    '''clear out the Git cached data'''
     repo.ui.status(_("clearing out the git cache data\n"))
     repo.githandler.clear()