mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
file2lastrev.rb: separate options for Output
and VPath
So the `--srcdir` option in this file can override the same option in `VPath`.
This commit is contained in:
parent
60f12c7d2e
commit
ac06951c31
3 changed files with 8 additions and 1 deletions
|
@ -10,6 +10,7 @@ class Output
|
|||
end
|
||||
|
||||
def def_options(opt)
|
||||
opt.separator(" Output common options:")
|
||||
opt.on('-o', '--output=PATH') {|v| @path = v}
|
||||
opt.on('-t', '--timestamp[=PATH]') {|v| @timestamp = v || true}
|
||||
opt.on('-c', '--[no-]if-change') {|v| @ifchange = v}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue