forked from markus/S_New4
16 lines
307 B
C++
16 lines
307 B
C++
|
#include "parameterManager.h"
|
||
|
|
||
|
Settings manageParameter(int argc, char **argv)
|
||
|
{
|
||
|
Settings settings;
|
||
|
if(argc < 2) {
|
||
|
std::cout << " => Kein Name angegeben" << std::endl;
|
||
|
settings.modus = Modus::EXIT;
|
||
|
return settings;
|
||
|
}
|
||
|
settings.name = argv[1];
|
||
|
|
||
|
|
||
|
return settings;
|
||
|
}
|