Moe and Don, It looks like changes were made to the man pages. However, --switch is still used for the info, usage, and help strings. The attached patch fixes those.
Rod From: "Lipari, Don" <[email protected]> To: "slurm-dev" <[email protected]>, Date: 03/15/2012 08:44 AM Subject: [slurm-dev] Re: --switch or --switches? Rod, It looks like a decision has already been made to favor ?switches?. See commit 4addebfed2 on Jan 11, 2012. Don From: [email protected] [mailto:[email protected]] Sent: Thursday, March 15, 2012 7:21 AM To: slurm-dev Subject: [slurm-dev] Re: --switch or --switches? Par, I am the author of this so the inconstancy is my fault. The table of options uses switches, but the --help and usage strings use switch. I think the correct one should be switches. I will be happy to make the patch if you agree. Rod From: [email protected] (Pär Andersson) To: "slurm-dev" <[email protected]>, Date: 03/15/2012 04:03 AM Subject: [slurm-dev] --switch or --switches? The option to srun/salloc/sbatch to select number of switches is in some places documented as --switch, and in other places as --switches. I would like to write a patch to make this consistent. Which one is it supposed to be? --switch is used in: * NEWS file * srun/salloc/sbatch --help * ../doc/html/topology.shtml --switches is used in: * RELEASE_NOTES file * srun/salloc/sbatch man-pages * source code getopt calls Since --switch is an abbreviation of --switches both will works, so this is only a documentation issue. Regards, Pär Andersson
<<image/jpeg>>
switch-str.patch
Description: Binary data
