Skip to content

Commit 560c877

Browse files
committed
Rename joycontrol-pluginloader arguments
1 parent 6a4b9c6 commit 560c877

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

joycontrol-pluginloader.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def _main(args):
3737
try:
3838
# waits until controller is fully connected
3939
await controller_state.connect()
40-
joycontrol_plugin = load_plugin(args.plugin, controller_state, args.plugin_options)
40+
joycontrol_plugin = load_plugin(args.plugin, controller_state, args.options)
4141
await joycontrol_plugin.run()
4242
except Exception as e:
4343
logger.error(e)
@@ -52,7 +52,7 @@ async def _main(args):
5252

5353
parser = argparse.ArgumentParser()
5454
parser.add_argument('plugin', type=str, help='joycontrol plugin path')
55-
parser.add_argument('plugin_options', nargs='*', help='joycontrol plugin options')
55+
parser.add_argument('options', nargs='*', help='joycontrol plugin options')
5656
parser.add_argument('-d', '--device_id')
5757
parser.add_argument('-r', '--reconnect_bt_addr', type=str, default=None,
5858
help='The Switch console Bluetooth address, for reconnecting as an already paired controller')

0 commit comments

Comments
 (0)