Add a --debug-config option to provide diagnostic info about the system and kitty

This commit is contained in:
Kovid Goyal
2018-03-25 12:30:56 +05:30
parent ea24c23fde
commit 7011329761
3 changed files with 74 additions and 4 deletions

View File

@@ -145,6 +145,9 @@ def _main():
os.chdir(os.path.expanduser('~'))
args, rest = parse_args(args=args)
args.args = rest
if args.debug_config:
create_opts(args, debug_config=True)
return
if getattr(args, 'detach', False):
detach()
if args.cmd: