summaryrefslogtreecommitdiff
path: root/src/basic/cap-to-name.awk
blob: bd8a28c2fe8e32e90ae3201e67e524440c90e7cb (plain)
1
2
3
4
5
6
7
8
9
10
11
# SPDX-License-Identifier: LGPL-2.1-or-later

BEGIN{
        print "static const char* const capability_names[] = { "
}
{
        printf "        [%s] = \"%s\",\n", $1, tolower($1)
}
END{
        print "};"
}