newline in command docs

This commit is contained in:
Erik Frojdh
2020-08-25 14:46:06 +02:00
parent 0f80079d16
commit 0253933271
3 changed files with 5 additions and 5 deletions

View File

@ -48,7 +48,7 @@ int main() {
auto tmp = os.str().erase(0, cmd.size());
auto usage = tmp.substr(0, tmp.find_first_of('\n'));
tmp.erase(0, usage.size());
auto help = replace_all(tmp, "\n\t", "\n\t\t");
auto help = replace_all(tmp, "\n\t", "\n\t\t| ");
fs << '\t' << cmd << usage << help << "\n";
}
}
}