Skip to content

Commit

Permalink
Fix --version flag not working
Browse files Browse the repository at this point in the history
  • Loading branch information
leoetlino authored May 15, 2023
1 parent cb06181 commit 17770f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion byml/yml_to_byml.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def main() -> None:
parser = argparse.ArgumentParser(description='Converts a YAML file to BYML.')
parser.add_argument('yml', help='Path to a YAML file', nargs='?', default='-')
parser.add_argument('byml', help='Path to destination BYAML file', nargs='?', default='-')
parser.add_argument('-V', '--version', default=2, help='BYML version (1, 2, 3)')
parser.add_argument('-V', '--version', type=int, default=2, help='BYML version (1, 2, 3)')
parser.add_argument('-b', '--be', action='store_true', help='Use big endian. Defaults to false.')
args = parser.parse_args()

Expand Down

0 comments on commit 17770f9

Please sign in to comment.