X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/f4ca9ad94a6bb006d1f3c7ba207837f1736d1247..96fefe6c6fc2e3bd7e4efbb0b6a7dedb9221aff7:/services/api/script/fail-jobs.rb diff --git a/services/api/script/fail-jobs.rb b/services/api/script/fail-jobs.rb index fd9212c6ff..e52bfc075d 100755 --- a/services/api/script/fail-jobs.rb +++ b/services/api/script/fail-jobs.rb @@ -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,