From: Luke Kenneth Casson Leighton Date: Tue, 25 May 2021 13:09:05 +0000 (+0100) Subject: whoops two options "-l", rename one "-a" for "assembly listing" X-Git-Tag: xlen-bcd~552 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8cc4fe420ba6039563e919f267a0798a7c330115;p=openpower-isa.git whoops two options "-l", rename one "-a" for "assembly listing" --- 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)