Skip to content

Commit 344e3d0

Browse files
authored
Merge pull request #3398 from ann0see/refactoring/deprecateCLIM
2 parents 1398302 + df0c877 commit 344e3d0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,9 @@ int main ( int argc, char** argv )
342342
// HTML status file ----------------------------------------------------
343343
if ( GetStringArgument ( argc, argv, i, "-m", "--htmlstatus", strArgument ) )
344344
{
345+
qWarning() << qUtf8Printable (
346+
QString ( "- The HTML status file option (\"--htmlstatus\" or \"-m\") is deprecated and will be removed soon. Please use JSON-RPC "
347+
"instead. See https://github.com/jamulussoftware/jamulus/blob/main/docs/JSON-RPC.md" ) );
345348
strHTMLStatusFileName = strArgument;
346349
qInfo() << qUtf8Printable ( QString ( "- HTML status file name: %1" ).arg ( strHTMLStatusFileName ) );
347350
CommandLineOptions << "--htmlstatus";
@@ -1111,7 +1114,7 @@ QString UsageArguments ( char** argv )
11111114
" -F, --fastupdate use 64 samples frame size mode\n"
11121115
" -l, --log enable logging, set file name\n"
11131116
" -L, --licence show an agreement window before users can connect\n"
1114-
" -m, --htmlstatus enable HTML status file, set file name\n"
1117+
" -m, --htmlstatus deprecated, please use JSON-RPC instead\n"
11151118
" -o, --serverinfo registration info for this Server. Format:\n"
11161119
" [name];[city];[country as two-letter ISO country code or Qt5 QLocale ID]\n"
11171120
" --serverpublicip public IP address for this Server. Needed when\n"

0 commit comments

Comments
 (0)