comparison main/main.cpp @ 2055:943e52e03cde

... or -v
author Chris Cannam
date Thu, 01 Nov 2018 10:18:51 +0000
parents 9ae7725215e3
children ed3f1b5094ad
comparison
equal deleted inserted replaced
2054:fc17db201a86 2055:943e52e03cde
264 cerr << QApplication::tr( 264 cerr << QApplication::tr(
265 "\nSonic Visualiser is a program for viewing and exploring audio data\nfor semantic music analysis and annotation.\n\nUsage:\n\n %1 [--no-audio] [--no-osc] [<file> ...]\n\n --no-audio: Do not attempt to open an audio output device\n --no-osc: Do not provide an Open Sound Control port for remote control\n <file>: One or more Sonic Visualiser (.sv) and audio files may be provided.\n").arg(argv[0]) << endl; 265 "\nSonic Visualiser is a program for viewing and exploring audio data\nfor semantic music analysis and annotation.\n\nUsage:\n\n %1 [--no-audio] [--no-osc] [<file> ...]\n\n --no-audio: Do not attempt to open an audio output device\n --no-osc: Do not provide an Open Sound Control port for remote control\n <file>: One or more Sonic Visualiser (.sv) and audio files may be provided.\n").arg(argv[0]) << endl;
266 exit(2); 266 exit(2);
267 } 267 }
268 268
269 if (args.contains("--version")) { 269 if (args.contains("--version") || args.contains("-v")) {
270 cerr << SV_VERSION << endl; 270 cerr << SV_VERSION << endl;
271 exit(0); 271 exit(0);
272 } 272 }
273 273
274 if (args.contains("--no-audio")) audioOutput = false; 274 if (args.contains("--no-audio")) audioOutput = false;