- { "socket", required_argument, 0, 's' },
- { "bar_id", required_argument, 0, 0 },
- { "help", no_argument, 0, 'h' },
- { "version", no_argument, 0, 'v' },
- { NULL, 0, 0, 0}
- };
-
- while ((opt = getopt_long(argc, argv, "s:hv", long_opt, &option_index)) != -1) {
+ {"socket", required_argument, 0, 's'},
+ {"bar_id", required_argument, 0, 'b'},
+ {"help", no_argument, 0, 'h'},
+ {"version", no_argument, 0, 'v'},
+ {"verbose", no_argument, 0, 'V'},
+ {NULL, 0, 0, 0}};
+
+ while ((opt = getopt_long(argc, argv, "b:s:hvV", long_opt, &option_index)) != -1) {