aboutsummaryrefslogtreecommitdiff
path: root/client.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-03-26 19:30:13 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-03-26 19:30:13 +0000
commit9b20764f35094963ecbfc40a972ef54443630447 (patch)
treeab76f3470a6a16e36e32d808f6d75f25389d4974 /client.c
parentMerge branch 'buffer-size-multiple-of-scale-factor' (diff)
features: --version now logs +/-pgo
That is, whether the binary was compiled with PGO or not.
Diffstat (limited to 'client.c')
-rw-r--r--client.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/client.c b/client.c
index 975269b1..93dcc666 100644
--- a/client.c
+++ b/client.c
@@ -35,8 +35,10 @@ static const char *
version_and_features(void)
{
static char buf[256];
- snprintf(buf, sizeof(buf), "version: %s %cime",
- FOOT_VERSION, feature_ime() ? '+' : '-');
+ snprintf(buf, sizeof(buf), "version: %s %cime %cpgo",
+ FOOT_VERSION,
+ feature_ime() ? '+' : '-',
+ feature_pgo() ? '+' : '-');
return buf;
}