Skip to content

Commit

Permalink
Simplify --version to omit author names
Browse files Browse the repository at this point in the history
Also add Maintainer in the awesome ASCII-artful header comment in
cli.py. =)
  • Loading branch information
dbarnett committed Sep 28, 2024
1 parent 85e9496 commit fb56d20
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion gcalcli/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
__version__ = '__unknown__'

__program__ = 'gcalcli'
__author__ = 'Eric Davis, Brian Hartvigsen, Joshua Crowgey'
2 changes: 1 addition & 1 deletion gcalcli/argparsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def get_argument_parser():
parser.add_argument(
'--version',
action='version',
version='%%(prog)s %s (%s)' % (gcalcli.__version__, gcalcli.__author__),
version=f'%(prog)s {gcalcli.__version__}',
)

# Program level options
Expand Down
7 changes: 4 additions & 3 deletions gcalcli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@
# | (_ | | (__ / _ \ | |__ | (__ | |__ | | #
# \___| \___|/_/ \_\ |____| \___||____||___| #
# #
# Authors: Eric Davis <http://www.insanum.com> #
# Brian Hartvigsen <http://github.com/tresni> #
# Joshua Crowgey <http://github.com/jcrowgey> #
# Authors: Eric Davis <https://www.insanum.com> #
# Brian Hartvigsen <https://github.com/tresni> #
# Joshua Crowgey <https://github.com/jcrowgey> #
# Maintainers: David Barnett <https://github.com/dbarnett> #
# Home: https://github.com/insanum/gcalcli #
# #
# Everything you need to know (Google API Calendar v3): http://goo.gl/HfTGQ #
Expand Down

0 comments on commit fb56d20

Please sign in to comment.