2121#include < iostream>
2222#include < stdexcept>
2323
24- auto printBanner (ArgumentParser argParse) -> void {
24+ auto printBanner (ZhivoUtil:: ArgumentParser argParse) -> void {
2525 std::cout
2626 << " \u001b [1;36mZhivo Programming Language ("
2727 << ZHIVO_VERSION
@@ -30,6 +30,15 @@ auto printBanner(ArgumentParser argParse) -> void {
3030 << " )\u001b [0m"
3131 << std::endl;
3232
33+ std::cout
34+ << std::endl
35+ << " \u001b [3;37mZhivo is free software, please check the source for copying"
36+ << std::endl
37+ << " terms and conditions. This includes no warranty, not even"
38+ << std::endl
39+ << " for fitness and/or merchantability for any particular purpose."
40+ << std::endl;
41+
3342 std::cout << std::endl
3443 << " \u001b [32mUsage\u001b [0m:"
3544 << std::endl
@@ -41,15 +50,6 @@ auto printBanner(ArgumentParser argParse) -> void {
4150
4251 std::cout
4352 << std::endl
44- << " \u001b [3;37mZhivo is free software, please check the source for copying"
45- << std::endl
46- << " terms and conditions. This includes no warranty, not even"
47- << std::endl
48- << " for fitness and/or merchantability for any particular purpose."
49- << std::endl
50- << std::endl;
51-
52- std::cout
5353 << " You should have received a copy of the GNU General Public"
5454 << std::endl
5555 << " License along with Zhivo. If not, see:"
@@ -142,7 +142,7 @@ auto interpreter(std::vector<std::string> files) -> int {
142142}
143143
144144auto main (int argc, char ** argv) -> int {
145- ArgumentParser argParse (argc, argv);
145+ ZhivoUtil:: ArgumentParser argParse (argc, argv);
146146 argParse.defineParameter (" h" , " help" , " Show this help banner." );
147147 argParse.defineParameter (" t" , " test" , " Run the script files in test mode." );
148148
0 commit comments