Add --version
This commit is contained in:
parent
fedd85f48f
commit
095bc8f06d
1 changed files with 3 additions and 0 deletions
|
@ -472,6 +472,9 @@ if __name__ == "__main__":
|
|||
softdis = parser.add_mutually_exclusive_group()
|
||||
bw_list = parser.add_mutually_exclusive_group()
|
||||
|
||||
parser.add_argument("-v", "--version", action="version",
|
||||
version="%(prog)s 1.1")
|
||||
|
||||
parser.add_argument("file", help="ME/TXE image or full dump")
|
||||
parser.add_argument("-O", "--output", metavar='output_file', help="save "
|
||||
"the modified image in a separate file, instead of "
|
||||
|
|
Loading…
Reference in a new issue