Commits

Siddharth Agarwal  committed b48be97

gclear: drop empty options and move help text to docstring

The synopsis is meant for a command description, not help text.

  • Participants
  • Parent commits 3512137

Comments (0)

Files changed (1)

File hggit/__init__.py

     '''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()