ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/applications/dynamicProps/DynamicPropsCmd.c
(Generate patch)

Comparing trunk/OOPSE-4/src/applications/dynamicProps/DynamicPropsCmd.c (file contents):
Revision 2668 by tim, Fri Mar 24 16:49:09 2006 UTC vs.
Revision 2671 by tim, Fri Mar 24 17:29:07 2006 UTC

# Line 44 | Line 44 | cmdline_parser_print_help (void)
44    printf("      --order=INT               Lengendre Polynomial Order\n");
45    printf("\n");
46    printf(" Group: dynamicProps  an option of this group is required\n");
47 <  printf("  -m, --rmsd                    rmsd\n");
48 <  printf("  -r, --rcorr                   position correlation function\n");
47 >  printf("  -r, --rcorr                   rmsd\n");
48    printf("  -v, --vcorr                   velocity correlation function\n");
49    printf("  -d, --dcorr                   dipole correlation function\n");
50    printf("  -l, --lcorr                   Lengendre correlation function\n");
# Line 81 | Line 80 | cmdline_parser (int argc, char * const *argv, struct g
80    args_info->sele1_given = 0 ;
81    args_info->sele2_given = 0 ;
82    args_info->order_given = 0 ;
84  args_info->rmsd_given = 0 ;
83    args_info->rcorr_given = 0 ;
84    args_info->vcorr_given = 0 ;
85    args_info->dcorr_given = 0 ;
# Line 113 | Line 111 | cmdline_parser (int argc, char * const *argv, struct g
111          { "sele1",      1, NULL, 0 },
112          { "sele2",      1, NULL, 0 },
113          { "order",      1, NULL, 0 },
116        { "rmsd",       0, NULL, 'm' },
114          { "rcorr",      0, NULL, 'r' },
115          { "vcorr",      0, NULL, 'v' },
116          { "dcorr",      0, NULL, 'd' },
# Line 122 | Line 119 | cmdline_parser (int argc, char * const *argv, struct g
119        };
120  
121        stop_char = 0;
122 <      c = getopt_long (argc, argv, "hVi:o:mrvdl", long_options, &option_index);
122 >      c = getopt_long (argc, argv, "hVi:o:rvdl", long_options, &option_index);
123  
124        if (c == -1) break;       /* Exit from `while (1)' loop.  */
125  
# Line 160 | Line 157 | cmdline_parser (int argc, char * const *argv, struct g
157            args_info->output_arg = gengetopt_strdup (optarg);
158            break;
159  
160 <        case 'm':       /* rmsd.  */
164 <          if (args_info->rmsd_given)
165 <            {
166 <              fprintf (stderr, "%s: `--rmsd' (`-m') option given more than once\n", CMDLINE_PARSER_PACKAGE);
167 <              clear_args ();
168 <              exit (EXIT_FAILURE);
169 <            }
170 <          args_info->rmsd_given = 1;
171 <          dynamicProps_group_counter += 1;
172 <        break;
173 <
174 <        case 'r':       /* position correlation function.  */
160 >        case 'r':       /* rmsd.  */
161            if (args_info->rcorr_given)
162              {
163                fprintf (stderr, "%s: `--rcorr' (`-r') option given more than once\n", CMDLINE_PARSER_PACKAGE);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines