16263: Assigns nil to select attributes when receiving empty values.
[arvados.git] / services / api / script / get_anonymous_user_token.rb
index 93c8318f0e53013e3a2e192466094d0905173baf..4bb91e244635d7c6e10dcdff32b72264141ff9de 100755 (executable)
@@ -7,9 +7,9 @@
 # If get option is used, an existing anonymous user token is returned. If none exist, one is created.
 # If the get option is omitted, a new token is created and returned.
 
-require 'trollop'
+require 'optimist'
 
-opts = Trollop::options do
+opts = Optimist::options do
   banner ''
   banner "Usage: get_anonymous_user_token "
   banner ''