diff options
author | Chris Wilson <chris+github@qwirx.com> | 2008-08-07 13:47:59 +0000 |
---|---|---|
committer | Chris Wilson <chris+github@qwirx.com> | 2008-08-07 13:47:59 +0000 |
commit | b7cf8523cee861d02cd369f55567d88253f92eb1 (patch) | |
tree | a3735bb741f32512585fe22e2415186022efb643 /lib/common/Utils.h | |
parent | 2cd7050a54b6db73f375c4215075b290b675bd0c (diff) |
Add machine-readable output mode (with -m option) to bbstoreaccounts info.
Diffstat (limited to 'lib/common/Utils.h')
-rw-r--r-- | lib/common/Utils.h | 6 |
1 files changed, 4 insertions, 2 deletions
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" |