From c14f9497968c3bf1d372c4a46d08ba252e89aa6e Mon Sep 17 00:00:00 2001 From: Martinez Date: Fri, 27 Feb 2015 23:46:01 +0100 Subject: [PATCH] added some sensible default values --- find-orphans.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/find-orphans.py b/find-orphans.py index eb0e582..6235f67 100755 --- a/find-orphans.py +++ b/find-orphans.py @@ -25,9 +25,9 @@ _print = over.core.textui.Output('Find Orphans') if __name__ == '__main__': main = over.core.app.Main('Find Orphans', None, 'AWARE-Overwatch Joint Software License') - main.add_option('filter', 'str', ['/home/*', '/var/*', '*.pyc', '/lib*/modules/*', '*.pyo'], 'Shell globs that should be filtered out.', plural=True) + main.add_option('filter', 'str', ['/home/*', '/var/*', '*.pyc', '/lib*/modules/*', '*.pyo', '/usr/share/mime/*', '/usr/local/*'], 'Shell globs that should be filtered out.', plural=True) main.add_option('null-separated', 'bool', False, 'Output each filename separated with a null character. Otherwise use a newline.', short_name='0') - main.add_option('output', 'bool', False, 'Output filenames to stdout. Otherwise just counts them.') + main.add_option('output', 'bool', True, 'Output filenames to stdout. Otherwise just counts them.') main.add_help('Description', ['Finds files on Gentoo systems that aren\'t owned by any installed package and lists them.']) main.enable_help('h') main.parse()