Merge branch '16111-ssh-help' closes #16111
[arvados.git] / services / crunch-dispatch-slurm / usage.go
index e8a1f1899e405db1a53f1ba41b074935d444b8e5..b2d157cbdb897c055f30f8f22a632976d859060c 100644 (file)
@@ -1,3 +1,7 @@
+// Copyright (C) The Arvados Authors. All rights reserved.
+//
+// SPDX-License-Identifier: AGPL-3.0
+
 package main
 
 import (
@@ -6,18 +10,6 @@ import (
        "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, `
 crunch-dispatch-slurm runs queued Arvados containers by submitting
@@ -27,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
+`)
 }