From b7cf8523cee861d02cd369f55567d88253f92eb1 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Thu, 7 Aug 2008 13:47:59 +0000 Subject: Add machine-readable output mode (with -m option) to bbstoreaccounts info. --- lib/common/Utils.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lib/common/Utils.h') diff --git a/lib/common/Utils.h b/lib/common/Utils.h index 78bcbd6b..d6792077 100644 --- a/lib/common/Utils.h +++ b/lib/common/Utils.h @@ -31,8 +31,10 @@ enum }; int ObjectExists(const std::string& rFilename); std::string HumanReadableSize(int64_t Bytes); -std::string FormatUsageBar(int64_t Blocks, int64_t Bytes, int64_t Max); -std::string FormatUsageLineStart(const std::string& rName); +std::string FormatUsageBar(int64_t Blocks, int64_t Bytes, int64_t Max, + bool MachineReadable); +std::string FormatUsageLineStart(const std::string& rName, + bool MachineReadable); #include "MemLeakFindOff.h" -- cgit v1.2.3