Add alternative short CLI options
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
54c3267e04
commit
a98cf4a99a
6
main.py
6
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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user