From: <jj...@us...> - 2004-02-08 12:59:05
|
Update of /cvsroot/ngetsuite/ngetsuite In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7965 Modified Files: ngetsuite.rb Log Message: added -p to change the period of queues, added an arg to -r to allow to download in a subdir of basedir/groupdir, fixed the initial value of the period Index: ngetsuite.rb =================================================================== RCS file: /cvsroot/ngetsuite/ngetsuite/ngetsuite.rb,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** ngetsuite.rb 7 Feb 2004 16:21:20 -0000 1.17 --- ngetsuite.rb 8 Feb 2004 12:55:47 -0000 1.18 *************** *** 23,27 **** [ '--show-nfo', '-n', GetoptLong::REQUIRED_ARGUMENT, 'nb_nfo[,groupid]', 'Prints the specified nfo' ], [ '--queue-article', '-q', GetoptLong::REQUIRED_ARGUMENT, 'groupid,articleid', 'Adds an article to the download queue'], ! [ '--queue-regexp', '-r', GetoptLong::REQUIRED_ARGUMENT, 'gid,regexp[,prio,period]', 'Adds a regexp to the download queue' ], [ '--show-queue', '-t', GetoptLong::OPTIONAL_ARGUMENT, '[groupid]', 'Shows the current download queue'], [ '--start-manager', '-m', GetoptLong::NO_ARGUMENT, 'Launches the download manager'], --- 23,27 ---- [ '--show-nfo', '-n', GetoptLong::REQUIRED_ARGUMENT, 'nb_nfo[,groupid]', 'Prints the specified nfo' ], [ '--queue-article', '-q', GetoptLong::REQUIRED_ARGUMENT, 'groupid,articleid', 'Adds an article to the download queue'], ! [ '--queue-regexp', '-r', GetoptLong::REQUIRED_ARGUMENT, 'gid,regexp[,prio,period,dir]', 'Adds a regexp to the download queue' ], [ '--show-queue', '-t', GetoptLong::OPTIONAL_ARGUMENT, '[groupid]', 'Shows the current download queue'], [ '--start-manager', '-m', GetoptLong::NO_ARGUMENT, 'Launches the download manager'], *************** *** 29,32 **** --- 29,33 ---- [ '--search', '-g', GetoptLong::REQUIRED_ARGUMENT, 'groupid,filter', 'Searches the headers matching a filter for a group' ], [ '--set-priority', '-f', GetoptLong::REQUIRED_ARGUMENT, 'queueid,prio', 'Changes the priority of the specified queue' ], + [ '--set-period', '-p', GetoptLong::REQUIRED_ARGUMENT, 'queueid,period', 'Changes the period of the specified queue' ], [ '--set-status', '-i', GetoptLong::REQUIRED_ARGUMENT, 'queueid,status', 'Changes the status of the specified queue'], [ '--delete-queue', '-x', GetoptLong::REQUIRED_ARGUMENT, 'queueid', 'Delete the specified queue'], |