this added output to text file and proper parsing of command line arguments. this also cleaned up some more stuff.

This commit is contained in:
Marcel Nowicki
2022-02-10 23:08:59 +01:00
parent bf6f224a23
commit 0114829d5b
4 changed files with 122 additions and 54 deletions

View File

@@ -34,7 +34,10 @@ namespace tarconstant {
"optional arguments\n"
"-h this helptext\n"
"-j stats in JSON format printed to stdout\n"
"-f print stats to file <tarfilename>.txt or .json if -j invoked"};
"-f print stats to file <tarfilename>.txt or .json if -j invoked\n\n"
"Find more information as well as full source at github.com/blindi0815/Tarstats-pp."
"This software is as is under a GPL 3.0 license.\n\n"
"Written by Marcel Nowicki - github.com/blindi0815"};
}
#endif //TARSTATS___TARCONST_H