summaryrefslogtreecommitdiff
path: root/devel/py-icalendar/files/patch-src_icalendar_cli.py
blob: f3cb8f58edb07e2cf1ab28320bec8bbe33dc3e14 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- 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])