lib/tap/tasks/glob.rb in tap-tasks-0.5.0 vs lib/tap/tasks/glob.rb in tap-tasks-0.7.0
- old
+ new
@@ -5,11 +5,11 @@
# :startdoc::task globs for files
#
# Globs the input patterns for matching patterns. Matching files are
# returned as an array.
#
- # % tap run -- glob * --: dump/yaml
+ # % tap glob * -: dump/yaml
#
# A variety of filters are available as configurations.
#
# == Glob Expansion
#
@@ -18,10 +18,10 @@
# Usually this doesn't make a difference in the task results, but it can
# slow down launch times.
#
# To glob within the task and not the command line, quote the glob.
#
- # % tap run -- glob '*' --: dump/yaml
+ # % tap glob '*' -: dump/yaml
#
class Glob < Tap::Task
config :includes, [/./], :long => :include, &c.list(&c.regexp) # Regexp include filters
config :excludes, [], :long => :exclude, &c.list(&c.regexp) # Regexp exclude filters
\ No newline at end of file