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

Reply via email to