Ticket #1548: nopercentage.patch

File nopercentage.patch, 1.1 KB (added by paulx@…, 18 years ago)

Mythcommflag new option too not show percentage done

  • programs/mythcommflag/main.cpp

    old new  
    769769        {
    770770            fullSpeed = false;
    771771        }
     772        else if (!strcmp(a.argv()[argpos], "--nopercentage"))
     773        {
     774            showPercentage = false;
     775        }
    772776        else if (!strcmp(a.argv()[argpos], "--rebuild"))
    773777        {
    774778            rebuildSeekTable = true;
     
    846850                    "-f OR --file filename        Flag recording with specific filename\n"
    847851                    "--video filename             Rebuild the seektable for a video (non-recording) file\n"
    848852                    "--sleep                      Give up some CPU time after processing each frame\n"
     853                    "--nopercentage               Don't print percentage done\n"
    849854                    "--rebuild                    Do not flag commercials, just rebuild seektable\n"
    850855                    "--gencutlist                 Copy the commercial skip list to the cutlist\n"
    851856                    "--clearcutlist               Clear the cutlist\n"