Browse Source

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 năm trước cách đây
mục cha
commit
4c98780f89
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;
 	track_prefix = 1;
 
-	while ((c = getopt(argc, argv, "hgsdtTbp:")) != -1) {
+	while ((c = getopt(argc, argv, "hgsdDtTbp:")) != -1) {
 		switch (c) {
 		case 'h':
 			return print_help();