--- trunk/src/applications/dump2Xyz/Dump2XYZCmd.c 2005/02/04 22:43:54 291 +++ trunk/src/applications/dump2Xyz/Dump2XYZCmd.c 2005/02/07 21:11:22 302 @@ -1,7 +1,7 @@ /* File autogenerated by gengetopt version 2.11 generated with the following command: - gengetopt -i Dump2XYZ.ggo + /home/maul/gezelter/tim/bin/gengetopt -F Dump2XYZCmd The developers of gengetopt consider the fixed text that goes in all gengetopt output files to be in the public domain: @@ -47,7 +47,14 @@ cmdline_parser_print_help (void) printf(" -r, --rigidbody add a pseudo COM atom to rigidbody \n (default=off)\n"); printf(" -t, --watertype replace the atom type of water model \n (default=on)\n"); printf(" -g, --ignore=atomtype ignore the atom types\n"); - printf(" -s, --selection=selection script general selection syntax(now only support \n select atoms within a specified range)\n"); + printf(" -s, --selection=selection script selection syntax:\n" + " select DMPC -- select DMPC molecule\n" + " select DMPC.* -- select all atoms and all rigidbodies belong to DMPC molecule(same as above)\n" + " select not DMPC -- select all atoms and all rigidbodies do not belong to DMPC molecule\n" + " select C* and 4 to 7 -- select stuntdoubles which match C* and which index is between [4, 7)\n" + " select 5 -- select stuntdobule whose global index is 5\n" + " select within (5.0, HDP or PO4) -- select stuntdoubles which is within 5 A to HDP or PO4\n" + " select DMPC.DMPC_RB_*.* --select atoms belong to rigid body inside DMPC molecule \n"); printf(" --repeatX=INT The number of images to repeat in the x \n direction (default=`0')\n"); printf(" --repeatY=INT The number of images to repeat in the y \n direction (default=`0')\n"); printf(" --repeatZ=INT The number of images to repeat in the z \n direction (default=`0')\n"); @@ -271,7 +278,12 @@ cmdline_parser (int argc, char * const *argv, struct g ignore_new->ignore_arg = gengetopt_strdup (optarg); break; - case 's': /* general selection syntax(now only support select atoms within a specified range). */ + case 's': /* general selection syntax:\n +select DMPC -- select DMPC molecule\n \ +select DMPC.* -- select all atoms and all rigidbodies belong to DMPC molecule\n \ +select 5 -- select stuntdobule whose global index is 5\n \ +select within (5.0, HDP or PO4) -- select stuntdoubles which is within 5 A to HDP or PO4\n \ +select DMPC.DMPC_RB_*.* --select atoms belong to rigid body inside DMPC molecule . */ if (args_info->selection_given) { fprintf (stderr, "%s: `--selection' (`-s') option given more than once\n", CMDLINE_PARSER_PACKAGE);