From 8cc4fe420ba6039563e919f267a0798a7c330115 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 25 May 2021 14:09:05 +0100 Subject: [PATCH] whoops two options "-l", rename one "-a" for "assembly listing" --- src/openpower/decoder/isa/pypowersim.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index 59f21f7c..9377021c 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -159,7 +159,7 @@ def run_tst(args, generator, initial_regs, def help(): print ("-i --binary= raw (non-ELF) bare metal executable, loaded at 0x0") - print ("-l --listing= file containing bare-metal assembler (no macros)") + print ("-a --listing= file containing bare-metal assembler (no macros)") print ("-g --intregs= colon-separated file with GPR values") print ("-f --fpregs= colon-separated file with FPR values") print ("-s --spregs= colon-separated file with SPR values") @@ -189,7 +189,7 @@ def run_simulation(): write_to = [] try: - opts, args = getopt.getopt(sys.argv[1:], "hi:l:g:f:s:l:d:", + opts, args = getopt.getopt(sys.argv[1:], "hi:a:g:f:s:l:d:", ["help", "binary=", "listing=", "intregs=", "fpregs=", "sprs=", @@ -204,7 +204,7 @@ def run_simulation(): help() elif opt in ['-i', '--binary']: binaryname = arg - elif opt in ['-l', '--listing']: + elif opt in ['-a', '--listing']: lst = arg elif opt in ['-g', '--intregs']: initial_regs = read_entries(arg, 32) -- 2.30.2