7167: expand the src and dst help messages to list the config parameters that are...
authorradhika <radhika@curoverse.com>
Wed, 21 Oct 2015 16:23:09 +0000 (12:23 -0400)
committerradhika <radhika@curoverse.com>
Wed, 21 Oct 2015 16:23:09 +0000 (12:23 -0400)
tools/keep-rsync/keep-rsync.go

index 7cd795ecf32160e3e2a799e3d8ee72edd2f77321..820772eb5b6a040d15683549b1e617c5d9e718e0 100644 (file)
@@ -30,12 +30,12 @@ func doMain() error {
        srcConfigFile := flags.String(
                "src",
                "",
-               "Source configuration filename. May be either a pathname to a config file, or (for example) 'foo' as shorthand for $HOME/.config/arvados/foo.conf")
+               "Source configuration filename. May be either a pathname to a config file, or (for example) 'foo' as shorthand for $HOME/.config/arvados/foo.conf file. This file is expected to specify the values for ARVADOS_API_TOKEN, ARVADOS_API_HOST, ARVADOS_API_HOST_INSECURE, and ARVADOS_BLOB_SIGNING_KEY for the source.")
 
        dstConfigFile := flags.String(
                "dst",
                "",
-               "Destination configuration filename. May be either a pathname to a config file, or (for example) 'foo' as shorthand for $HOME/.config/arvados/foo.conf")
+               "Destination configuration filename. May be either a pathname to a config file, or (for example) 'foo' as shorthand for $HOME/.config/arvados/foo.conf file. This file is expected to specify the values for ARVADOS_API_TOKEN, ARVADOS_API_HOST, and ARVADOS_API_HOST_INSECURE for the destination.")
 
        srcKeepServicesJSON := flags.String(
                "src-keep-services-json",