mirror of
https://github.com/BlackLight/theremin.git
synced 2024-11-30 15:35:12 +01:00
Added epilog and prog name
This commit is contained in:
parent
c9f1a7cbb4
commit
1ab65ddb7f
1 changed files with 3 additions and 2 deletions
|
@ -9,10 +9,11 @@ from .theremin import theremin
|
||||||
|
|
||||||
def parse_args(args):
|
def parse_args(args):
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
|
prog='theremin',
|
||||||
description='Theremin emulator through a Leap Motion device.\n\n' +
|
description='Theremin emulator through a Leap Motion device.\n\n' +
|
||||||
'Make sure that your Leap Motion device is plugged in and\n' +
|
'Make sure that your Leap Motion device is plugged in and\n' +
|
||||||
'the leapd daemon is running before running it.\n\n' +
|
'the leapd daemon is running before running it.\n',
|
||||||
'Fabio "BlackLight" Manganiello <blacklight86{a}gmail{d}com>\n',
|
epilog='\n------------\nAuthor: Fabio "BlackLight" Manganiello <blacklight86{a}gmail{d}com>\n',
|
||||||
formatter_class=argparse.RawTextHelpFormatter)
|
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,
|
||||||
|
|
Loading…
Reference in a new issue