X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;ds=sidebyside;f=src%2Ftincctl.c;h=a6b400b905e0c523fc96e26d5457907cb8ae5776;hb=f830d756812a2860fe3b758d3fd8605ac338a552;hp=8b49c4499b2c508ba04bc4595c377cfffe6a2bac;hpb=95baa36f10743d4d2bd6f6ff05457f77bd14e96d;p=tinc diff --git a/src/tincctl.c b/src/tincctl.c index 8b49c449..a6b400b9 100644 --- a/src/tincctl.c +++ b/src/tincctl.c @@ -93,6 +93,17 @@ static struct option const long_options[] = { static void version(void) { printf("%s version %s (built %s %s, protocol %d.%d)\n", PACKAGE, BUILD_VERSION, BUILD_DATE, BUILD_TIME, PROT_MAJOR, PROT_MINOR); + printf("Features:" +#ifdef HAVE_READLINE + " readline" +#endif +#ifdef HAVE_CURSES + " curses" +#endif +#ifndef DISABLE_LEGACY + " legacy_protocol" +#endif + "\n\n"); printf("Copyright (C) 1998-2018 Ivo Timmermans, Guus Sliepen and others.\n" "See the AUTHORS file for a complete list.\n\n" "tinc comes with ABSOLUTELY NO WARRANTY. This is free software,\n"