We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01722f commit a7cd1ebCopy full SHA for a7cd1eb
src/main.cpp
@@ -15,6 +15,10 @@ int main(int argc, char* argv[]) {
15
const std::wstring outFileName = L"\\output";
16
bool running = true;
17
18
+ if (argc <= 1) {
19
+ std::cout << "json2x " << VERSION_MAJOR << "." << VERSION_MINOR << " (shell mode) " << "\n";
20
+ }
21
+
22
while (running)
23
{
24
try
@@ -37,9 +41,6 @@ int main(int argc, char* argv[]) {
37
41
argc = 0; //Prevent args being used again
38
42
}
39
43
else {
40
-
- std::cout << "json2x " << VERSION_MAJOR << "." << VERSION_MINOR << " (shell mode) " << "\n";
44
std::cout << ">> ";
45
46
std::string tempInput;
0 commit comments