Include labels for --config help paths

pull/2446/head
Kieran R. Prasch 2020-11-20 11:59:19 -08:00
parent 9299ab186d
commit 5dae755588
No known key found for this signature in database
GPG Key ID: FDC3146ED25617D8
1 changed files with 3 additions and 1 deletions

View File

@ -39,9 +39,11 @@ def echo_solidity_version(ctx, param, value):
def echo_config_location(ctx, param, value):
if not value or ctx.resilient_parsing:
return
click.secho(f"{DEFAULT_CONFIG_ROOT}\n{USER_LOG_DIR}")
click.secho(f"Configuration directory: {DEFAULT_CONFIG_ROOT}\n"
f"Logging directory: {USER_LOG_DIR}")
ctx.exit()
def paint_new_installation_help(emitter, new_configuration):
character_config_class = new_configuration.__class__
character_name = character_config_class.NAME.lower()