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:
parent
00bdc89f98
commit
6235515889
File diff suppressed because it is too large
Load Diff
|
@ -104,6 +104,7 @@ protected:
|
||||||
* Print message (to console?).
|
* Print message (to console?).
|
||||||
*/
|
*/
|
||||||
static void PrintMessage(const std::string &message);
|
static void PrintMessage(const std::string &message);
|
||||||
|
static void PrintMessage(const char* message);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::vector<std::string> _pathnames;
|
std::vector<std::string> _pathnames;
|
||||||
|
|
Loading…
Reference in New Issue