JoshuaMKW / pyisotools

python library for working with Gamecube ISOs (GCM)
GNU General Public License v3.0
18 stars 9 forks source link

Linux CLI doesn't recognize source arugment #2

Closed NerduMiner closed 3 years ago

NerduMiner commented 3 years ago

With Python 3.9.1 on Manjaro Linux, the python CLI tool is unable to recognize the source argument. There are two combinations of arguments I tried, each with different results: image Using the order intended by the help parses the source iso argument as the job and errors out. image However, supplying the job first and then the source iso argument shows the tool doesn't recognize the argument I am putting as the source. Supplying a destination argument doesn't change anything. Running the tool without a source argument allows it to proceed but gets stuck as normal since it has nothing to work on.

JoshuaMKW commented 3 years ago

Turns out this bug is caused by an oversight in the argument process, I wasn't trimming out the executable path before passing to argparse for parsing!

A new release is coming soon, which will fix the issue. When it comes out for pip, you can upgrade your install :P