The --version option was previously subject to syntax validation of other args when it shouldn't be. This commit switches to a 'version' arg type, but this comes at the cost of replacing the print_version_and_exit function with a format_version function that simply returns the version string.
2.7 KiB
2.7 KiB