| 369 | } |
| 370 | |
| 371 | string GetVersionString(bool compact) { |
| 372 | stringstream ss; |
| 373 | ss << google::ProgramInvocationShortName() |
| 374 | << " version " << GetBuildVersion(compact); |
| 375 | return ss.str(); |
| 376 | } |
| 377 | |
| 378 | string GetBackendString() { |
| 379 | return Substitute("$0:$1", FLAGS_hostname, FLAGS_krpc_port); |