소스 검색

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 년 전
부모
커밋
4c98780f89
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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();