14873: Fixes all deprecation notes on unit tests
[arvados.git] / services / api / script / fail-jobs.rb
index a24b58d3ec569749488f9d0aef9bbacb1d04186b..e52bfc075d89ad20d24a2722901ee4df1a36c00b 100755 (executable)
@@ -3,9 +3,9 @@
 #
 # SPDX-License-Identifier: AGPL-3.0
 
-require 'trollop'
+require 'optimist'
 
-opts = Trollop::options do
+opts = Optimist::options do
   banner 'Fail jobs that have state=="Running".'
   banner 'Options:'
   opt(:before,