diff --git a/windows/README.md b/windows/README.md index c8c42e5..333453e 100644 --- a/windows/README.md +++ b/windows/README.md @@ -33,11 +33,11 @@ Output sorting: -d, --descending Sort in descending order instead of default of descending. -c COLUMN, --column COLUMN Sort by this column name. Default: filename. Available columns: "filename", "symbol type", "module", "symbol", "file size", "path" - -n NUM, --first NUM Show only first N results, as specified in this paremeter. By default will show all candidates. - -i, --imports Filter only Imports. - -e, --exports Filter only Exports. + -n NUM, --first NUM Show only first N results, as specified in this paremeter. By default will show all candidates.= Output filtering: + -i, --imports Filter only Imports. + -e, --exports Filter only Exports. -s NAME, --name NAME Search for symbols with name matching this regular expression. Can be repeated, case insensitive, constructs: ".+VALUE.+" -S NOT_NAME, --not-name NOT_NAME Search for symbols with name NOT matching this regular expression. diff --git a/windows/findSymbols.py b/windows/findSymbols.py index 6591c9f..f7d12c2 100644 --- a/windows/findSymbols.py +++ b/windows/findSymbols.py @@ -288,8 +288,8 @@ def opts(argv): sorting.add_argument('-n', '--first', type=int, default=0, metavar='NUM', help='Show only first N results, as specified in this paremeter. By default will show all candidates.') filters = params.add_argument_group('Output filtering') - sorting.add_argument('-i', '--imports', action='store_true', help = 'Filter only Imports.') - sorting.add_argument('-e', '--exports', action='store_true', help = 'Filter only Exports.') + filters.add_argument('-i', '--imports', action='store_true', help = 'Filter only Imports.') + filters.add_argument('-e', '--exports', action='store_true', help = 'Filter only Exports.') filters.add_argument('-s', '--name', action='append', default=[], help = 'Search for symbols with name matching this regular expression. Can be repeated, case insensitive, constructs: ".+VALUE.+"') filters.add_argument('-S', '--not-name', action='append', default=[], help = 'Search for symbols with name NOT matching this regular expression.') filters.add_argument('-m', '--module', action='append', default=[], help = 'Search for symbols exported in/imported from this module matching regular expression.')