Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions commandLine/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,6 @@ int main(int argc, char** argv){
// ofPath = "";
templateName = "";


// ------------------------------------------------------ parse args
argc-=(argc>0); argv+=(argc>0); // skip program name argv[0] if present
option::Stats stats(usage, argc, argv);
Expand Down Expand Up @@ -484,7 +483,7 @@ int main(int argc, char** argv){
else {
mode = PG_MODE_CREATE;
}
//XAXA TEMP

// mode = PG_MODE_CREATE;


Expand Down
2 changes: 1 addition & 1 deletion commandLine/src/projects/baseProject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ bool baseProject::create(const fs::path & _path, std::string templateName){
path = fs::current_path() / path;
}
projectDir = path;
projectName = path.parent_path().filename();
projectName = path.filename();
bool bDoesDirExist = false;

fs::path project { projectDir / "src" };
Expand Down