Comments.
parent
a8ae8d1430
commit
0265383d05
|
@ -27,9 +27,10 @@ OptionParser.parse do |parser|
|
||||||
end
|
end
|
||||||
|
|
||||||
parser.on "-h", "--help", "Prints this help message." do
|
parser.on "-h", "--help", "Prints this help message." do
|
||||||
puts "usage: #{PROGRAM_NAME} <uid> <service> <resource> [permission] [options]"
|
puts "usage: #{PROGRAM_NAME} <uid> <service> <resource> [permission] [options]"
|
||||||
puts "example: #{PROGRAM_NAME} 1002 my-application chat Read"
|
puts "example: #{PROGRAM_NAME} 1002 my-application chat read"
|
||||||
puts "permission list: None Read Edit Admin"
|
puts
|
||||||
|
puts "permission list: none read edit admin"
|
||||||
puts parser
|
puts parser
|
||||||
exit 0
|
exit 0
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue