From 7d23f0b1fa6f0ddc0c3caa4a4ee3e957d23d36c8 Mon Sep 17 00:00:00 2001 From: "Mariusz B. / mgeeky" Date: Fri, 22 Oct 2021 20:37:08 +0200 Subject: [PATCH] update --- windows/README.md | 6 +++--- windows/findSymbols.py | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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.')