Skip to content

Commit

Permalink
Merge pull request #3398 from ann0see/refactoring/deprecateCLIM
Browse files Browse the repository at this point in the history
  • Loading branch information
ann0see authored Nov 24, 2024
2 parents 1398302 + df0c877 commit 344e3d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,9 @@ int main ( int argc, char** argv )
// HTML status file ----------------------------------------------------
if ( GetStringArgument ( argc, argv, i, "-m", "--htmlstatus", strArgument ) )
{
qWarning() << qUtf8Printable (
QString ( "- The HTML status file option (\"--htmlstatus\" or \"-m\") is deprecated and will be removed soon. Please use JSON-RPC "
"instead. See https://github.com/jamulussoftware/jamulus/blob/main/docs/JSON-RPC.md" ) );
strHTMLStatusFileName = strArgument;
qInfo() << qUtf8Printable ( QString ( "- HTML status file name: %1" ).arg ( strHTMLStatusFileName ) );
CommandLineOptions << "--htmlstatus";
Expand Down Expand Up @@ -1111,7 +1114,7 @@ QString UsageArguments ( char** argv )
" -F, --fastupdate use 64 samples frame size mode\n"
" -l, --log enable logging, set file name\n"
" -L, --licence show an agreement window before users can connect\n"
" -m, --htmlstatus enable HTML status file, set file name\n"
" -m, --htmlstatus deprecated, please use JSON-RPC instead\n"
" -o, --serverinfo registration info for this Server. Format:\n"
" [name];[city];[country as two-letter ISO country code or Qt5 QLocale ID]\n"
" --serverpublicip public IP address for this Server. Needed when\n"
Expand Down

0 comments on commit 344e3d0

Please sign in to comment.