Add luksrku version in help page

Before we forget to include it, put it right in there so it's easy to
determine which version it was built from.
This commit is contained in:
Johannes Bauer 2019-10-23 22:32:35 +02:00
parent 4ee2739bac
commit 25649e0caa

View File

@ -45,6 +45,8 @@ static void show_syntax(const char *errmsg, int argc, char **argv) {
fprintf(stderr, " %s client Unlock LUKS volumes by querying a key server\n", argv[0]); fprintf(stderr, " %s client Unlock LUKS volumes by querying a key server\n", argv[0]);
fprintf(stderr, "\n"); fprintf(stderr, "\n");
fprintf(stderr, "For futher help: %s (command) --help\n", argv[0]); fprintf(stderr, "For futher help: %s (command) --help\n", argv[0]);
fprintf(stderr, "\n");
fprintf(stderr, "luksrku version " BUILD_REVISION "\n");
} }
static bool edit_callback(enum argparse_edit_option_t option, const char *value, argparse_edit_errmsg_callback_t errmsg_callback) { static bool edit_callback(enum argparse_edit_option_t option, const char *value, argparse_edit_errmsg_callback_t errmsg_callback) {