Skip to content

Commit

Permalink
Display aliBuild version on empty args
Browse files Browse the repository at this point in the history
  • Loading branch information
singiamtel authored and ktf committed Nov 18, 2024
1 parent 47c511f commit a8a767e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aliBuild
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def doMain(args, parser):
error(e.message)
exit(1)

if args.action == "version":
if args.action == "version" or args.action == None:
print("aliBuild version: {version} ({arch})".format(
version=__version__ or "unknown", arch=args.architecture or "unknown"))
sys.exit(0)
Expand Down

0 comments on commit a8a767e

Please sign in to comment.