Skip to content

Commit

Permalink
add -v flag
Browse files Browse the repository at this point in the history
  • Loading branch information
AHReccese committed May 20, 2024
1 parent 89b9cfd commit e3f03a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nava/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ def main():
)
parser.add_argument('--loop', help='sound play in loop', action='store_true', default=False)
parser.add_argument('--version', help="version", action='store_true', default=False)

parser.add_argument('-v', help="version", action='store_true', default=False)
args = parser.parse_known_args()[0]
if args.version:
if args.version or args.v:
print(NAVA_VERSION)
elif args.filename or args.file:
file_name = args.filename
Expand Down

0 comments on commit e3f03a7

Please sign in to comment.