c++/sql-dk/CLIStarter.cpp
author František Kučera <franta-hg@frantovo.cz>
Mon, 04 Mar 2019 22:26:24 +0100
branchv_0
changeset 242 0503996934e0
parent 232 4061e0c7f907
child 250 aae5009bd0af
permissions -rw-r--r--
release: 0.10

/**
 * SQL-DK
 * Copyright © 2018 František Kučera (frantovo.cz)
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

#include <cstdlib>
#include <iostream>

using namespace std;

int main(int argc, char* argv[]) {

	for (int i = 0; i < argc; i++) {
		auto arg = string(argv[i]);
		wcout << arg.c_str() << endl;
		if (arg == "--batch") {
			wcout << "BATCH !!!" << endl;
		}
	}


	return 0;
}