Add alternative short CLI options

Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
Juraj Oravec 2024-05-29 22:44:40 +02:00
parent 54c3267e04
commit a98cf4a99a
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -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))