mirror of
https://github.com/NinjaCheetah/WiiPy.git
synced 2025-06-29 07:31:02 -04:00
Change --wiiu to --wii and made Wii U servers the default
This commit is contained in:
parent
5cff545921
commit
436189659d
@ -9,10 +9,10 @@ def handle_nus(args):
|
|||||||
title_version = None
|
title_version = None
|
||||||
file_path = None
|
file_path = None
|
||||||
tid = args.tid
|
tid = args.tid
|
||||||
if args.wiiu:
|
if args.wii:
|
||||||
use_wiiu_servers = True
|
|
||||||
else:
|
|
||||||
use_wiiu_servers = False
|
use_wiiu_servers = False
|
||||||
|
else:
|
||||||
|
use_wiiu_servers = True
|
||||||
if args.verbose:
|
if args.verbose:
|
||||||
verbose = True
|
verbose = True
|
||||||
else:
|
else:
|
||||||
|
4
wiipy.py
4
wiipy.py
@ -14,7 +14,7 @@ if __name__ == "__main__":
|
|||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description="WiiPy is a simple command line tool to manage file formats used by the Wii.")
|
description="WiiPy is a simple command line tool to manage file formats used by the Wii.")
|
||||||
parser.add_argument("--version", action="version",
|
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)
|
subparsers = parser.add_subparsers(dest="subcommand", required=True)
|
||||||
|
|
||||||
# Argument parser for the WAD subcommand.
|
# 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("-o", "--output", metavar="OUT", type=str, help="output file (optional)")
|
||||||
nus_parser.add_argument("--verbose", help="output more information about the current download",
|
nus_parser.add_argument("--verbose", help="output more information about the current download",
|
||||||
action="store_true")
|
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")
|
action="store_true")
|
||||||
|
|
||||||
# Argument parser for the U8 subcommand.
|
# Argument parser for the U8 subcommand.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user