diff options
| author | tassaron | 2022-05-05 22:33:46 -0400 |
|---|---|---|
| committer | tassaron | 2022-05-05 22:33:46 -0400 |
| commit | d211151b05a1ca54e0a49a3b8618b7ab24655ede (patch) | |
| tree | 2bfde4baa78cf244823055fb0ee57046f0f471ae /src | |
| parent | c36a3dc64501db64978ba71d5219976e3f7b2315 (diff) | |
show program name as 'avp' when invoked as python -m avp
Diffstat (limited to 'src')
| -rw-r--r-- | src/command.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command.py b/src/command.py index 6d76906..68282e5 100644 --- a/src/command.py +++ b/src/command.py @@ -38,6 +38,7 @@ class Command(QtCore.QObject): def parseArgs(self): self.parser = argparse.ArgumentParser( + prog='avp' if os.path.basename(sys.argv[0]) == "__main__.py" else None, description='Create a visualization for an audio file', epilog='EXAMPLE COMMAND: main.py myvideotemplate.avp ' '-i ~/Music/song.mp3 -o ~/video.mp4 ' |
