repair
This commit is contained in:
parent
0c289aff9c
commit
2952953f5d
1 changed files with 3 additions and 0 deletions
|
@ -28,6 +28,8 @@
|
||||||
#define required_argument 1
|
#define required_argument 1
|
||||||
#define optional_argument 2
|
#define optional_argument 2
|
||||||
|
|
||||||
|
using namespace std;
|
||||||
|
|
||||||
Options options;
|
Options options;
|
||||||
|
|
||||||
constexpr unsigned int caseArg(const char* str, int h = 0) {
|
constexpr unsigned int caseArg(const char* str, int h = 0) {
|
||||||
|
@ -35,6 +37,7 @@ constexpr unsigned int caseArg(const char* str, int h = 0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
|
int index,opt;
|
||||||
|
|
||||||
options.user = DEFAULT_USER;
|
options.user = DEFAULT_USER;
|
||||||
options.password = DEFAULT_PASS;
|
options.password = DEFAULT_PASS;
|
||||||
|
|
Loading…
Reference in a new issue