dualshock-tools/ds4-tools

ds4-tool.py makes reference to "ds4-util' in argument parser

ngth82 opened this issue · 1 comments

ngth82 commented

The argument parser makes a reference to "ds4-util" - change that to ds4-tool, or use arg 0.

parser = argparse.ArgumentParser(prog='ds4-util',
                                 description="Play with the DS4 controller",
                                 epilog="By the_al")

I suggest removing the prog='ds4-util' statement, then the argument parser will automatically fill in argv[0] for the file name. Less to maintain, should you want to change the filename (again) at a later date.

Fixed, thank you!