Example #1
0
func getUsageStr() string {
	defaultBServer := libkbfs.GetDefaultBServer()
	if len(defaultBServer) == 0 {
		defaultBServer = "host:port"
	}
	defaultMDServer := libkbfs.GetDefaultMDServer()
	if len(defaultMDServer) == 0 {
		defaultMDServer = "host:port"
	}
	return fmt.Sprintf(usageFormatStr, defaultBServer, defaultMDServer)
}
Example #2
0
func getUsageStr() string {
	defaultBServer := libkbfs.GetDefaultBServer()
	if len(defaultBServer) == 0 {
		defaultBServer = "host:port"
	}
	defaultMDServer := libkbfs.GetDefaultMDServer()
	if len(defaultMDServer) == 0 {
		defaultMDServer = "host:port"
	}
	platformUsageString := libfuse.GetPlatformUsageString()
	return fmt.Sprintf(
		usageFormatStr, defaultBServer, defaultMDServer,
		platformUsageString, platformUsageString)
}