Reformatted long options
This commit is contained in:
parent
1e5a6651ea
commit
3322cc6244
4
main.cpp
4
main.cpp
@ -95,8 +95,8 @@ int main(int argc, const char * argv[]) {
|
|||||||
|
|
||||||
int opt_char, opt_val;
|
int opt_char, opt_val;
|
||||||
struct option long_options[] = {
|
struct option long_options[] = {
|
||||||
{"help", no_argument, nullptr, 'h'},
|
{"help", no_argument, nullptr, 'h'},
|
||||||
{"list", no_argument, nullptr, 'l'},
|
{"list", no_argument, nullptr, 'l'},
|
||||||
{"version", no_argument, &opt_val, 1},
|
{"version", no_argument, &opt_val, 1},
|
||||||
{nullptr, 0, nullptr, 0}
|
{nullptr, 0, nullptr, 0}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user