~abentley/bzrtools/bzrtools.dev

« back to all changes in this revision

Viewing changes to __init__.py

  • Committer: Aaron Bentley
  • Date: 2005-10-31 05:44:16 UTC
  • Revision ID: aaron.bentley@utoronto.ca-20051031054416-39215722a3933d13
Fixed spelling of detritus

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
 
16
16
Option.OPTIONS['ignored'] = Option('ignored',
17
17
        help='delete all ignored files.')
18
 
Option.OPTIONS['detrius'] = Option('detrius',
 
18
Option.OPTIONS['detritus'] = Option('detritus',
19
19
        help='delete conflict files merge backups, and failed selftest dirs.' +
20
20
              '(*.THIS, *.BASE, *.OTHER, *~, *.tmp')
21
21
Option.OPTIONS['dry-run'] = Option('dry-run',
25
25
    """Remove unwanted files from working tree.
26
26
    Normally, ignored files are left alone.
27
27
    """
28
 
    takes_options = ['ignored', 'detrius', 'dry-run']
29
 
    def run(self, ignored=False, detrius=False, dry_run=False):
 
28
    takes_options = ['ignored', 'detritus', 'dry-run']
 
29
    def run(self, ignored=False, detritus=False, dry_run=False):
30
30
        from clean_tree import clean_tree
31
 
        clean_tree('.', ignored=ignored, detrius=detrius, dry_run=dry_run)
 
31
        clean_tree('.', ignored=ignored, detritus=detritus, dry_run=dry_run)
32
32
 
33
33
Option.OPTIONS['no-collapse'] = Option('no-collapse')
34
34
Option.OPTIONS['no-antialias'] = Option('no-antialias')