update: falco builder image has FALCO_VERSION build arg and env var again

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
Leonardo Di Donato
2019-07-16 16:58:23 +02:00
committed by Leo Di Donato
parent 9d4ed8e33e
commit 44f0633f47
4 changed files with 10 additions and 3 deletions

View File

@@ -76,7 +76,7 @@ static void restart_falco(int signal)
static void usage()
{
printf(
"Falco version is " FALCO_VERSION "\n"
"Falco version: " FALCO_VERSION "\n"
"Usage: falco [options]\n\n"
"Options:\n"
" -h, --help Print this page\n"
@@ -604,7 +604,7 @@ int falco_init(int argc, char **argv)
case 0:
if(string(long_options[long_index].name) == "version")
{
printf("falco version %s\n", FALCO_VERSION);
printf("Falco version: %s\n", FALCO_VERSION);
return EXIT_SUCCESS;
}
else if (string(long_options[long_index].name) == "cri")