X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/0561bd0c3c07257fd58ded6c7cfa5feeae97af57..37d9f94b06ff367a3514b58ec6f0e4d4d0116030:/services/crunch-dispatch-slurm/usage.go diff --git a/services/crunch-dispatch-slurm/usage.go b/services/crunch-dispatch-slurm/usage.go index f64c502395..68a2305f74 100644 --- a/services/crunch-dispatch-slurm/usage.go +++ b/services/crunch-dispatch-slurm/usage.go @@ -7,32 +7,18 @@ package main import ( "flag" "fmt" - "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, ` + 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 +`) }