Fixed rnx version output

This commit is contained in:
Mark Qvist 2022-05-26 00:03:37 +02:00
parent 9e316ab989
commit 1e77f85cd4

View File

@ -530,7 +530,7 @@ def main():
parser.add_argument("--stdin", action='store', default=None, help="pass input to stdin", type=str)
parser.add_argument("--stdout", action='store', default=None, help="max size in bytes of returned stdout", type=int)
parser.add_argument("--stderr", action='store', default=None, help="max size in bytes of returned stderr", type=int)
parser.add_argument("--version", action="version", version="rncp {version}".format(version=__version__))
parser.add_argument("--version", action="version", version="rnx {version}".format(version=__version__))
args = parser.parse_args()
@ -694,4 +694,4 @@ def pretty_time(time, verbose=False):
return tstr
if __name__ == "__main__":
main()
main()