diff --git a/pyRCV2/__main__.py b/pyRCV2/__main__.py index 5e0e0ff..eb2f600 100644 --- a/pyRCV2/__main__.py +++ b/pyRCV2/__main__.py @@ -1,5 +1,5 @@ # pyRCV2: Preferential vote counting -# Copyright © 2020 Lee Yingtong Li (RunasSudo) +# Copyright © 2020–2021 Lee Yingtong Li (RunasSudo) # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by @@ -27,3 +27,5 @@ args = parser.parse_args() if args.subcommand == 'stv': stv.main(args) +else: + parser.print_help()