summaryrefslogtreecommitdiffstats
path: root/tools/irecovery.c
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2024-11-05 02:55:37 +0100
committerGravatar Nikias Bassen2024-11-05 02:55:37 +0100
commit7a5e6196a8c5fbb8f52c2ccc0d73a5842818b5c1 (patch)
treeabd8791b6884df1ffb4baf65f60a2ce5d001460d /tools/irecovery.c
parent2405a807b6b5e4f33ac77a985aa77ea6ca27b49f (diff)
downloadlibirecovery-7a5e6196a8c5fbb8f52c2ccc0d73a5842818b5c1.tar.gz
libirecovery-7a5e6196a8c5fbb8f52c2ccc0d73a5842818b5c1.tar.bz2
Fix conditional compile for libreadline
Diffstat (limited to 'tools/irecovery.c')
-rw-r--r--tools/irecovery.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/irecovery.c b/tools/irecovery.c
index f527c44..b41573c 100644
--- a/tools/irecovery.c
+++ b/tools/irecovery.c
@@ -595,7 +595,11 @@ int main(int argc, char* argv[])
return 0;
case 'V':
- printf("%s %s\n", TOOL_NAME, PACKAGE_VERSION);
+ printf("%s %s", TOOL_NAME, PACKAGE_VERSION);
+#ifdef HAVE_READLINE
+ printf(" (readline)");
+#endif
+ printf("\n");
return 0;
default: