Simply display zero if it's less or equals to 0.
if (options.count("history_file"))
        config().setString("history_file", options["history_file"].as<std::string>()
    if (options.count("verbose"))
        config().setBool("verbose", true
    if (options.count("interactive"))
        config().setBool("interactive", true
    if (options.count("pager"))
        config().setString("pager", options["pager"].as<std::string>()
    if (options.count("log-level"))
        Poco::Logger::root().setLevel(options["log-level"].as<std::string>()
    if (options.count("server_logs_file"))
        server_logs_file = options["server_logs_file"].as<std::string>(
    query_processing_stage = QueryProcessingStage::fromString(options["stage"].as<std::string>()
    query_kind = parseQueryKind(options["query_kind"].as<std::string>()
    profile_events.print = options.count("print-profile-events"
    profile_events.delay_ms = options["profile-events-delay-ms"].as<UInt64>(
    processOptions(options_description, options, external_tables_arguments, hosts_and_ports_arguments
    argsToConfig(common_arguments, config(), 100
    clearPasswordFromCommandLine(argc, argv
    /// Limit on total memory usage
    size_t m().getInt64("max_memory_usage_in_client", 0 /*default value*/
    if (max_client_memor
    {
        total_memory_tracker.setHardLimit(max_client_memory_usage
        total_memory_tracker.setDescription("(total)"
        total_memory_tracker.setMetric(CurrentMetrics::MemoryTracking
    }
}
}