1
0
mirror of https://github.com/b4tman/sync_ics2gcal synced 2025-02-01 12:28:29 +00:00

print usage in manage script

This commit is contained in:
Dmitry Belyaev 2018-04-07 19:17:03 +03:00
parent 6cf4888c72
commit 27c2f60979
Signed by: b4tman
GPG Key ID: 014E87EC54B77673

View File

@ -30,8 +30,11 @@ def parse_args():
'remove', help='remove calendar')
parser_remove.add_argument(
'id', action='store', help='calendar id to remove')
return parser.parse_args()
args = parser.parse_args()
if args.command is None:
parser.print_usage()
return args
def load_config():