mirror of
https://github.com/BlackLight/theremin.git
synced 2024-11-24 04:35:13 +01:00
Added script description
This commit is contained in:
parent
770359a9c0
commit
c9f1a7cbb4
1 changed files with 7 additions and 1 deletions
|
@ -8,7 +8,13 @@ from .theremin import theremin
|
||||||
|
|
||||||
|
|
||||||
def parse_args(args):
|
def parse_args(args):
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser(
|
||||||
|
description='Theremin emulator through a Leap Motion device.\n\n' +
|
||||||
|
'Make sure that your Leap Motion device is plugged in and\n' +
|
||||||
|
'the leapd daemon is running before running it.\n\n' +
|
||||||
|
'Fabio "BlackLight" Manganiello <blacklight86{a}gmail{d}com>\n',
|
||||||
|
formatter_class=argparse.RawTextHelpFormatter)
|
||||||
|
|
||||||
parser.add_argument('--list-audio-outputs', '-l', dest='list_audio_outputs', required=False,
|
parser.add_argument('--list-audio-outputs', '-l', dest='list_audio_outputs', required=False,
|
||||||
action='store_true', help='List the available audio output devices')
|
action='store_true', help='List the available audio output devices')
|
||||||
parser.add_argument('--list-leap-motions', '-L', dest='list_leap_motions', required=False,
|
parser.add_argument('--list-leap-motions', '-L', dest='list_leap_motions', required=False,
|
||||||
|
|
Loading…
Reference in a new issue