Comments.

authc
Karchnu 2020-09-05 11:08:41 +02:00
parent a8ae8d1430
commit 0265383d05
1 changed files with 4 additions and 3 deletions

View File

@ -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