For running our tests, FUSE must be configured with the
[arvados-dev.git] / compute-image-cleaner / usage.go
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 package main
6
7 import (
8         "flag"
9         "fmt"
10         "os"
11 )
12
13 func usage(fs *flag.FlagSet) {
14         fmt.Fprintf(os.Stderr, `
15 compute-image-cleaner removes old compute images from the specified storage account/container.
16
17 The following environment variables must be set:
18
19   AZURE_TENANT_ID
20   AZURE_SUBSCRIPTION_ID
21   AZURE_CLIENT_ID
22   AZURE_CLIENT_SECRET
23
24 For more information about those values and for instructions to create a service principal, see
25 https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-create-service-principal-portal
26
27 Usage:
28 `)
29         fs.PrintDefaults()
30 }