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