version.cpp

src/cli/version.cpp

@file version.cpp @brief `entropic version` subcommand.

Owners: @tvanfossen

run_version

int entropic::cli::run_version()

Print the engine version and exit.

src/cli/version.cpp:20

Show on the map →

Called by run_version_adapter

Calls none

Source · 5 lines
int run_version()
{
    std::printf("entropic %s\n", CONFIG_ENTROPIC_VERSION_STRING);
    return 0;
}
Activity · 2 steps
lines 22–22std::printf("entropic %s\n", CONFIG_ENTROPIC_VERSION_STRING);lines 23–23return 0;

Requirements

REQ-PROD-001