diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-11-02 11:37:54 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2022-11-02 12:38:03 +0900 |
commit | ac06951c31c59781951a70788e4b0de2aa3d481c (patch) | |
tree | 323bc4515f9c25bc577d14509d812bd797c960b2 /tool/lib/output.rb | |
parent | 60f12c7d2e37ebb57193612421ab66d6368eff6e (diff) | |
download | ruby-ac06951c31c59781951a70788e4b0de2aa3d481c.tar.gz |
file2lastrev.rb: separate options for `Output` and `VPath`
So the `--srcdir` option in this file can override the same option in
`VPath`.
Diffstat (limited to 'tool/lib/output.rb')
-rw-r--r-- | tool/lib/output.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/output.rb b/tool/lib/output.rb index 5e0e878322..584be76974 100644 --- a/tool/lib/output.rb +++ b/tool/lib/output.rb @@ -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} |