hgext/purge/__init__.py
changeset 2382 b429566d1994
parent 2381 ab7a438294fc
equal deleted inserted replaced
2381:ab7a438294fc 2382:b429566d1994
   167     p = Purge(act, abort_on_err, eol)
   167     p = Purge(act, abort_on_err, eol)
   168     p.purge(ui, repo, dirs)
   168     p.purge(ui, repo, dirs)
   169 
   169 
   170 
   170 
   171 cmdtable = {
   171 cmdtable = {
   172     'purge':    (purge,
   172     'purge':
   173                  [('a', 'abort-on-err', None, _('abort if an error occurs')),
   173         (purge,
   174                   ('p', 'print',        None, _('print the file names instead of deleting them')),
   174          [('a', 'abort-on-err', None, _('abort if an error occurs')),
   175                   ('0', 'print0',       None, _('end filenames with NUL, for use with xargs (implies -p)')),
   175           ('p', 'print', None, _('print the file names instead of deleting them')),
   176                  ],
   176           ('0', 'print0', None, _('end filenames with NUL, for use with xargs'
   177                  _('hg purge [OPTIONS] [DIR]'))
   177                                   ' (implies -p)'))],
       
   178          _('hg purge [OPTION]... [DIR]...'))
   178 }
   179 }