Added epilog and prog name

This commit is contained in:
Fabio Manganiello 2019-10-14 23:10:05 +02:00
parent c9f1a7cbb4
commit 1ab65ddb7f
1 changed files with 3 additions and 2 deletions

View File

@ -9,10 +9,11 @@ from .theremin import theremin
def parse_args(args):
parser = argparse.ArgumentParser(
prog='theremin',
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',
'the leapd daemon is running before running it.\n',
epilog='\n------------\nAuthor: 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,