mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 14:20:33 -04:00
Changes by upstream: https://github.com/collective/icalendar/compare/3.11.7...4.0.3 PR: 229901 Submitted by: freebsd_ports@k-worx.org Approved by: maintainer timeout
10 lines
451 B
Python
10 lines
451 B
Python
--- src/icalendar/cli.py.orig 2018-06-20 12:52:55 UTC
|
|
+++ src/icalendar/cli.py
|
|
@@ -86,6 +86,7 @@ def main():
|
|
# This seems a bit of an overkill now, but we will probably add more
|
|
# functionality later, e.g., iCalendar to JSON / YAML and vice versa.
|
|
subparsers = parser.add_subparsers(dest='subcommand')
|
|
+ subparsers.required = True
|
|
|
|
subparser = subparsers.add_parser(
|
|
'view', description=view.__doc__.split('\n\n')[0])
|