aboutsummaryrefslogtreecommitdiff
path: root/src/common/command_line.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-06-08 18:12:38 -0400
committerThomas Winget <tewinget@gmail.com>2014-06-12 19:05:52 -0400
commitce352392d53fd2679ba2671349543528207a923e (patch)
treed2be5eb7591007bb9bb1b768304b66dbfe22e5bf /src/common/command_line.h
parentstupid signed arithmetic. (diff)
downloadmonero-ce352392d53fd2679ba2671349543528207a923e.tar.xz
DRY cin input_line (and test replacement of non-DRY usage)
Diffstat (limited to '')
-rw-r--r--src/common/command_line.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/command_line.h b/src/common/command_line.h
index 860653772..a6f78569c 100644
--- a/src/common/command_line.h
+++ b/src/common/command_line.h
@@ -14,6 +14,9 @@
namespace command_line
{
+
+ std::string input_line(const std::string& prompt);
+
template<typename T, bool required = false>
struct arg_descriptor;