14873: Fixes all deprecation notes on unit tests
[arvados.git] / services / api / script / fail-jobs.rb
index fd9212c6ffea955208827207ac4470bde233b75d..e52bfc075d89ad20d24a2722901ee4df1a36c00b 100755 (executable)
@@ -1,8 +1,11 @@
 #!/usr/bin/env ruby
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# 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,