diff --git a/trunk/ripnews/ripnews.rb b/trunk/ripnews/ripnews.rb index 8d3e234..6513a50 100755 --- a/trunk/ripnews/ripnews.rb +++ b/trunk/ripnews/ripnews.rb @@ -63,8 +63,7 @@ def parse_options(options) [ "-M", "--multipart", GetoptLong::NO_ARGUMENT ], [ "-S", "--singlepart", GetoptLong::NO_ARGUMENT ], [ "-T", "--test", GetoptLong::NO_ARGUMENT ], - [ "-X", "--exclude", GetoptLong::REQUIRED_ARGUMENT ], - [ "-g", "--greedy", GetoptLong::NO_ARGUMENT ] + [ "-X", "--exclude", GetoptLong::REQUIRED_ARGUMENT ] ) opts.quiet=true @@ -80,8 +79,16 @@ def parse_options(options) end def usage - print "\nUsage:\n" - print "blabla hier nog iets verzinnen\n" + print "\nUsage:\n\n" + print "ripnews.rb [-I ] [-c ] [-L] [-C] [-M] [-S] [-T] [-X ]\n\n" + print "-I specify an include pattern\n" + print "-c specify an alternate configfile\n" + print "-L use subject as filename\n" + print "-C use combined filenames\n" + print "-M get multipart articles\n" + print "-S get singlepart articles\n" + print "-T test mode, don't update newsrc file\n" + print "-X specify an exclude pattern\n" exit end