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 <>
date Mon, 19 May 2014 21:09:30 -0700
parents 351213785c4a
children 5d35a5c12b02
files hggit/
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/
+++ b/hggit/
@@ -131,8 +131,9 @@
     '''export commits from Mercurial to Git'''
-@command('gclear', [], _('Clears out the Git cached data'))
 def gclear(ui, repo):
+    '''clear out the Git cached data'''
     repo.ui.status(_("clearing out the git cache data\n"))