mirror of
https://github.com/KeqingMoe/argparse.git
synced 2025-07-04 07:04:39 +00:00
Fix print_help for printing nothing
This commit is contained in:
parent
9cac1d0fed
commit
36003197c7
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user