Switch to unified view

a/sc2src/sc2mpd.cpp b/sc2src/sc2mpd.cpp
...
...
467
                            "[stream] Use alsa directly instead of producing "
467
                            "[stream] Use alsa directly instead of producing "
468
                            "http stream");
468
                            "http stream");
469
    parser.AddOption(&optionDevice);
469
    parser.AddOption(&optionDevice);
470
470
471
#ifdef WITH_WAVSC2
471
#ifdef WITH_WAVSC2
472
    OptionString optionWav("-w", "--wav", Brn(""), 
472
    OptionString optionWav("-w", "--wav somefile.wav", Brn(""), 
473
                           "Test audio with wav file instead of sender");
473
                           "Test audio with wav file instead of sender");
474
    parser.AddOption(&optionWav);
474
    parser.AddOption(&optionWav);
475
#endif
475
#endif
476
476
477
    if (!parser.Parse(aArgc, aArgv)) {
477
    if (!parser.Parse(aArgc, aArgv)) {
478
        cerr << "Bad options, exiting\n";
478
        return (1);
479
        return 1;
479
    }
480
    }
480
481
481
    string uconfigfile = (const char *)optionConfig.Value().Ptr();
482
    string uconfigfile = (const char *)optionConfig.Value().Ptr();
482
483
483
    bool cfspecified = true;
484
    bool cfspecified = true;