From e9a8d62262287c9c607cb4fbb9ed5bf1d9fab83b Mon Sep 17 00:00:00 2001 From: "Justin A. Lemkul" Date: Mon, 11 Apr 2011 15:50:20 -0400 Subject: [PATCH] Revision to previous commit: fixed typo and now bugs actually show up. --- src/kernel/g_protonate.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/kernel/g_protonate.c b/src/kernel/g_protonate.c index 43400a00d5..2b2ef81207 100644 --- a/src/kernel/g_protonate.c +++ b/src/kernel/g_protonate.c @@ -67,10 +67,6 @@ int main (int argc,char *argv[]) "should correspond to the [BB]protonated[bb] state." }; - const char *bugs[] = { - "For the moment, only .pdb files are accepted to the -s flag" - } - char title[STRLEN+1]; const char *infile; char *grpnm; @@ -89,6 +85,10 @@ int main (int argc,char *argv[]) gmx_bool bReadMultiple; output_env_t oenv; + const char *bugs[] = { + "For the moment, only .pdb files are accepted to the -s flag" + }; + t_filenm fnm[] = { { efTPS, NULL, NULL, ffREAD }, { efTRX, "-f", NULL, ffOPTRD }, @@ -99,7 +99,7 @@ int main (int argc,char *argv[]) CopyRight(stderr,argv[0]); parse_common_args(&argc,argv,PCA_CAN_TIME, - NFILE,fnm,0,NULL,asize(desc),desc,0,NULL,&oenv); + NFILE,fnm,0,NULL,asize(desc),desc,asize(bugs),bugs,&oenv); infile=opt2fn("-s",NFILE,fnm); read_tps_conf(infile,title,&top,&ePBC,&x,NULL,box,FALSE); -- 2.11.4.GIT