def print_deprecation_warning(deprecated_cmd_or_subcmd, new_cmd_or_subcmd):
    click.secho("Warning: '{}' {}command is deprecated and will be removed in the future".format(deprecated_cmd_or_subcmd, ('' if (deprecated_cmd_or_subcmd == 'sonic_installer') else 'sub')), fg='red', err=True)
    click.secho("Please use '{}' instead".format(new_cmd_or_subcmd), fg='red', err=True)
def print_deprecation_warning(deprecated_cmd_or_subcmd, new_cmd_or_subcmd):
    click.secho("Warning: '{}' {}command is deprecated and will be removed in the future".format(deprecated_cmd_or_subcmd, ( if (deprecated_cmd_or_subcmd == 'sonic_installer') else 'sub')), fg='red', err=True)
    click.secho("Please use '{}' instead".format(new_cmd_or_subcmd), fg='red', err=True)