Skip to content

Commit 8ee8845

Browse files
authored
Controller: fix --version parameter (#52)
On newest versions of Python and Rift dependencies, rift --version is broken. This commit replicates the behavior of the macro and simplifies the code.
1 parent 347b73d commit 8ee8845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rift/Controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def make_parser():
7070
parser.add_argument('-v', '--verbose', action='count', default=0,
7171
help="increase output verbosity (twice for debug)")
7272
parser.add_argument('--version', action='version',
73-
version=f"%%(prog)s {__version__}")
73+
version=f"Rift {__version__}")
7474

7575
subparsers = parser.add_subparsers(dest='command', metavar='COMMAND')
7676

0 commit comments

Comments
 (0)