diff --git a/src/main.cpp b/src/main.cpp index 76a2ff7..13945b6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -53,9 +53,9 @@ struct arguments { }; #define LIST_CABLE 1 -#define LIST_BOARD 2 +#define LIST_BOARD 2 #define LIST_FPGA 3 -#define DETECT 4 +#define DETECT 4 const char *argp_program_version = "openFPGALoader 1.0"; const char *argp_program_bug_address = ""; @@ -240,9 +240,9 @@ static error_t parse_opt(int key, char *arg, struct argp_state *state) break; case ARGP_KEY_END: if (arguments->bit_file.empty() && - !arguments->is_list_command && + !arguments->is_list_command && !arguments->detect && - !arguments->reset) { + !arguments->reset) { cout << "Error: bitfile not specified" << endl; argp_usage(state); }