mirror of
https://github.com/xonsh/xonsh.git
synced 2025-03-05 17:00:58 +01:00
Make --version print a str rather than a tuple
This commit is contained in:
parent
2c028f5d41
commit
ab8fca0850
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def premain(argv=None):
|
|||
parser.print_help()
|
||||
parser.exit()
|
||||
if args.version:
|
||||
version = '/'.join(('xonsh', __version__)),
|
||||
version = '/'.join(('xonsh', __version__))
|
||||
print(version)
|
||||
parser.exit()
|
||||
shell_kwargs = {'shell_type': args.shell_type,
|
||||
|
|
Loading…
Add table
Reference in a new issue