mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Merge pull request #60 from zhihaoy/fix-help
Fix print_help for printing nothing
This commit is contained in:
commit
4cc2c75dec
@ -515,8 +515,8 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Format help message
|
// Format help message
|
||||||
auto help() const -> std::ostringstream {
|
auto help() const -> std::stringstream {
|
||||||
std::ostringstream out;
|
std::stringstream out;
|
||||||
out << *this;
|
out << *this;
|
||||||
return out;
|
return out;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user