arbi 1.0.8 → 1.0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/arbi/cli/client.rb +1 -1
- data/lib/arbi/cli/server.rb +2 -2
- data/lib/arbi/version.rb +1 -1
- metadata +2 -1
data/lib/arbi/cli/client.rb
CHANGED
|
@@ -50,7 +50,7 @@ protected
|
|
|
50
50
|
o.program_name = 'arbi'
|
|
51
51
|
o.banner = "Arbi client v#{Arbi::VERSION}, USAGE:"
|
|
52
52
|
|
|
53
|
-
o.on('-
|
|
53
|
+
o.on('-C', '--config CONF', 'Select configurations path, default to /etc/arbi.conf') do |conf|
|
|
54
54
|
Arbi::Config.parse(conf)
|
|
55
55
|
end
|
|
56
56
|
|
data/lib/arbi/cli/server.rb
CHANGED
|
@@ -41,7 +41,7 @@ protected
|
|
|
41
41
|
o.program_name = 'arbid'
|
|
42
42
|
o.banner = "Arbi server v#{Arbi::VERSION}, USAGE:"
|
|
43
43
|
|
|
44
|
-
o.on('-
|
|
44
|
+
o.on('-C', '--config CONF', 'Select configurations path, default to /etc/arbi.conf') do |conf|
|
|
45
45
|
Arbi::Config.parse(conf)
|
|
46
46
|
end
|
|
47
47
|
|
|
@@ -58,7 +58,7 @@ protected
|
|
|
58
58
|
exit 0
|
|
59
59
|
end
|
|
60
60
|
|
|
61
|
-
o.on_tail('h', '--help', 'Print this help and exit') do
|
|
61
|
+
o.on_tail('-h', '--help', 'Print this help and exit') do
|
|
62
62
|
puts o.to_s
|
|
63
63
|
exit 0
|
|
64
64
|
end
|
data/lib/arbi/version.rb
CHANGED