1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-11 02:46:12 -05:00

Fix error message

All long options must be specified with two hypens.
This commit is contained in:
Daniele Forsi 2024-06-01 16:36:54 +02:00
parent 4cf54cb9a5
commit 710ad0b9e3

View File

@ -151,7 +151,7 @@ void MainParser::parse(const QCoreApplication& app)
if (m_remoteTCPSink && m_remoteTCPSinkHWType.isEmpty() && m_remoteTCPSinkSerial.isEmpty()) if (m_remoteTCPSink && m_remoteTCPSinkHWType.isEmpty() && m_remoteTCPSinkSerial.isEmpty())
{ {
qCritical() << "You must specify a device with either -remote-tcp-hwtype or -remote-tcp-serial"; qCritical() << "You must specify a device with either --remote-tcp-hwtype or --remote-tcp-serial";
exit (EXIT_FAILURE); exit (EXIT_FAILURE);
} }
} }