Sfoglia il codice sorgente

cmap: add -D option to getopt

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Angus Salkeld 14 anni fa
parent
commit
4c98780f89
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tools/corosync-cmapctl.c

+ 1 - 1
tools/corosync-cmapctl.c

@@ -735,7 +735,7 @@ int main(int argc, char *argv[])
 	action = ACTION_PRINT_PREFIX;
 	action = ACTION_PRINT_PREFIX;
 	track_prefix = 1;
 	track_prefix = 1;
 
 
-	while ((c = getopt(argc, argv, "hgsdtTbp:")) != -1) {
+	while ((c = getopt(argc, argv, "hgsdDtTbp:")) != -1) {
 		switch (c) {
 		switch (c) {
 		case 'h':
 		case 'h':
 			return print_help();
 			return print_help();