From a98cf4a99a724dcaf0ca5df2da19c93210c3448c Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Wed, 29 May 2024 22:44:40 +0200 Subject: [PATCH] Add alternative short CLI options Signed-off-by: Juraj Oravec --- main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 42c915c..53c50c2 100644 --- a/main.py +++ b/main.py @@ -354,11 +354,11 @@ def main(): ) parser.add_argument('elf_file', metavar='file', type=str, nargs='?', help='ELF file to try to extract symbols') - parser.add_argument('--include-file-name', dest='include_file_name', action='store_true', + parser.add_argument('-f', '--include-file-name', dest='include_file_name', action='store_true', help='Display filename at the beginning') - parser.add_argument('--print-debug-info', dest='print_debug_info', action='store_true', + parser.add_argument('-d', '--print-debug-info', dest='print_debug_info', action='store_true', help='Print debug infor when parsing DWARF') - parser.add_argument('--all-members', dest='all_members', action='store_true', + parser.add_argument('-a', '--all-members', dest='all_members', action='store_true', help='Print information of all children') parser.add_argument('--version', action='version', version='%(prog)s {version}'.format(version=SCRIPT_VERSION))