mirror of
https://github.com/b4tman/sync_ics2gcal
synced 2026-05-25 14:26:17 +03:00
print usage in manage script
This commit is contained in:
+5
-2
@@ -30,8 +30,11 @@ def parse_args():
|
|||||||
'remove', help='remove calendar')
|
'remove', help='remove calendar')
|
||||||
parser_remove.add_argument(
|
parser_remove.add_argument(
|
||||||
'id', action='store', help='calendar id to remove')
|
'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():
|
def load_config():
|
||||||
|
|||||||
Reference in New Issue
Block a user