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:
parent
6cf4888c72
commit
27c2f60979
@ -31,7 +31,10 @@ def parse_args():
|
||||
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():
|
||||
|
Loading…
x
Reference in New Issue
Block a user