Merge pull request #60 from zhihaoy/fix-help

Fix print_help for printing nothing
This commit is contained in:
Pranav 2019-11-22 15:45:58 -06:00 committed by GitHub
commit 4cc2c75dec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -515,8 +515,8 @@ public:
}
// Format help message
auto help() const -> std::ostringstream {
std::ostringstream out;
auto help() const -> std::stringstream {
std::stringstream out;
out << *this;
return out;
}