mirror of
https://github.com/tcsenpai/UWINE.git
synced 2025-06-06 11:35:20 +00:00
ulwg_run.py: print to stderr
only
* Avoid polluting `stdout` since the caller might expect the output of the command there.
This commit is contained in:
parent
709e0bd67a
commit
ffd22ca1a1
@ -35,13 +35,13 @@ example usage:
|
||||
|
||||
if not sys.argv[1:]:
|
||||
err: str = "Please see project README.md for more info and examples.\nhttps://github.com/Open-Wine-Components/ULWGL-launcher"
|
||||
parser.print_help()
|
||||
parser.print_help(sys.stderr)
|
||||
raise SystemExit(err)
|
||||
|
||||
if sys.argv[1:][0] in opt_args:
|
||||
return parser.parse_args(sys.argv[1:])
|
||||
|
||||
return (sys.argv[1], sys.argv[2:])
|
||||
return sys.argv[1], sys.argv[2:]
|
||||
|
||||
|
||||
def setup_pfx(path: str) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user