X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/2755c8e5060fc5f84c91e089b43d5019c84cd93b..217aba73f6366cf1af30683baa6d0d5d1e3407a9:/services/crunch-dispatch-slurm/usage.go diff --git a/services/crunch-dispatch-slurm/usage.go b/services/crunch-dispatch-slurm/usage.go index e8a1f1899e..785843b198 100644 --- a/services/crunch-dispatch-slurm/usage.go +++ b/services/crunch-dispatch-slurm/usage.go @@ -1,33 +1,24 @@ -package main +// Copyright (C) The Arvados Authors. All rights reserved. +// +// SPDX-License-Identifier: AGPL-3.0 + +package dispatchslurm import ( "flag" "fmt" - "os" ) -var exampleConfigFile = []byte(` - { - "Client": { - "APIHost": "zzzzz.arvadosapi.com", - "AuthToken": "xyzzy", - "Insecure": false - }, - "CrunchRunCommand": ["crunch-run"], - "PollPeriod": "10s", - "SbatchArguments": ["--partition=foo", "--exclude=node13"] - }`) - func usage(fs *flag.FlagSet) { - fmt.Fprintf(os.Stderr, ` + fmt.Fprintf(fs.Output(), ` crunch-dispatch-slurm runs queued Arvados containers by submitting SLURM batch jobs. Options: `) fs.PrintDefaults() - fmt.Fprintf(os.Stderr, ` -Example config file: -%s -`, exampleConfigFile) + fmt.Fprintf(fs.Output(), ` + +For configuration instructions see https://doc.arvados.org/install/crunch2-slurm/install-dispatch.html +`) }