summaryrefslogtreecommitdiff
path: root/tool/lib/output.rb
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2022-11-02 11:37:54 +0900
committerNobuyoshi Nakada <[email protected]>2022-11-02 12:38:03 +0900
commitac06951c31c59781951a70788e4b0de2aa3d481c ()
tree323bc4515f9c25bc577d14509d812bd797c960b2 /tool/lib/output.rb
parent60f12c7d2e37ebb57193612421ab66d6368eff6e (diff)
file2lastrev.rb: separate options for `Output` and `VPath`
So the `--srcdir` option in this file can override the same option in `VPath`.
-rw-r--r--tool/lib/output.rb1
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ class Output
end
def def_options(opt)
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}