Change --wiiu to --wii and made Wii U servers the default

This commit is contained in:
Campbell 2024-07-07 07:05:55 +10:00
parent 5cff545921
commit 436189659d
Signed by: NinjaCheetah
GPG Key ID: 670C282B3291D63D
2 changed files with 5 additions and 5 deletions

View File

@ -9,10 +9,10 @@ def handle_nus(args):
title_version = None
file_path = None
tid = args.tid
if args.wiiu:
use_wiiu_servers = True
else:
if args.wii:
use_wiiu_servers = False
else:
use_wiiu_servers = True
if args.verbose:
verbose = True
else:

View File

@ -14,7 +14,7 @@ if __name__ == "__main__":
parser = argparse.ArgumentParser(
description="WiiPy is a simple command line tool to manage file formats used by the Wii.")
parser.add_argument("--version", action="version",
version=f"WiiPy v1.0.0, based on libWiiPy v{version('libWiiPy')} (from branch \'main\')")
version=f"WiiPy v1.1.0, based on libWiiPy v{version('libWiiPy')} (from branch \'main\')")
subparsers = parser.add_subparsers(dest="subcommand", required=True)
# Argument parser for the WAD subcommand.
@ -39,7 +39,7 @@ if __name__ == "__main__":
nus_parser.add_argument("-o", "--output", metavar="OUT", type=str, help="output file (optional)")
nus_parser.add_argument("--verbose", help="output more information about the current download",
action="store_true")
nus_parser.add_argument("-w", "--wiiu", help="use Wii U servers for faster downloads",
nus_parser.add_argument("-w", "--wii", help="use original Wii NUS instead of the Wii U servers",
action="store_true")
# Argument parser for the U8 subcommand.