1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Prettify --help output

This commit is contained in:
Perttu Ahola 2012-03-11 11:02:22 +02:00
parent 37b2bc3c0c
commit d330430336
3 changed files with 44 additions and 18 deletions

View file

@ -48,6 +48,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "sha1.h"
#include "base64.h"
#include "tool.h"
#include "utility_string.h"
#define PP(x) "("<<(x).X<<","<<(x).Y<<","<<(x).Z<<")"
@ -824,13 +825,6 @@ void PlayerInfo::PrintLine(std::ostream *s)
(*s)<<std::endl;
}
static std::string padStringRight(std::string s, size_t len)
{
if(len > s.size())
s.insert(s.end(), len - s.size(), ' ');
return s;
}
/*
Server
*/