Skip to content

Commit e62b641

Browse files
committed
add --print-imstallation-path cli option
1 parent c74b2a9 commit e62b641

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

exe/omnipackage-agent

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ optparser = ::OptionParser.new do |parser|
2929
exit
3030
end
3131
parser.on('-c', '--config CONFIG_FILE', 'path to config file')
32+
parser.on('--print-imstallation-path', 'print to stdout the installation path') do
33+
puts ::File.expand_path('..', __dir__)
34+
exit
35+
end
3236
end
3337
optparser.parse!(into: options)
3438

0 commit comments

Comments
 (0)