From 717b425c59ab64959c393bb4788ece2b374e5ea6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zolt=C3=A1n=20Kov=C3=A1cs?= Date: Wed, 12 Jan 2022 18:30:49 +0100 Subject: [PATCH] Add info on available Bible texts for the 'help' command on the web --- cli.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli.cpp b/cli.cpp index 3a38179..8e23dbf 100644 --- a/cli.cpp +++ b/cli.cpp @@ -166,6 +166,9 @@ string cli_process(char *buf) { } if (input.compare("help") == 0) { +#ifdef __EMSCRIPTEN__ + showAvailableBibles(); +#endif info("Please visit https://github.com/kovzol/bibref#bibref to get online help."); goto end; }