Refactorized cmdlineparser.cpp:

- Added const char* overload for PrintMessage()
- Call Path::removeQuotationMarks() before any other path formatting functions
- Fixed --help output on terminal outputs with 80 columns
- Hide -l option on systems where it does not do anything
- Added pre-check for "-" at the beginning to distinguish between options and files early
This commit is contained in:
PKEuS 2015-11-20 12:01:04 +01:00
parent 00bdc89f98
commit 6235515889
2 changed files with 548 additions and 537 deletions

File diff suppressed because it is too large Load Diff

View File

@ -104,6 +104,7 @@ protected:
* Print message (to console?).
*/
static void PrintMessage(const std::string &message);
static void PrintMessage(const char* message);
private:
std::vector<std::string> _pathnames;