I think that the issue is that "--<FOO>" is interpreted to mean that <FOO> should be interpreted as a single string, but "-<FOO>" is interpreted to mean that each letter of <FOO> should be interpreted individually.
This is a fairly common Linux/POSIX/GNU convention. As for "--host" vs. "--hosts", we initially got the option name from the MPI spec, where it describes mpiexec (e.g., MPI-3.1 section 8.8, page 362). I wouldn't argue if we wanted to put in a synonym for --host and --hosts. But this would probably be suitable for master/v2.x -- probably not v1.10.x (which is intended to be short-lived and replaced by v2.x "soon"). > On Aug 25, 2015, at 9:10 PM, Gilles Gouaillardet > <gilles.gouaillar...@gmail.com> wrote: > > would it be easier if the option was --host instead of -host ? > I guess changing the cli is not an option for the v1.x series, so what about > adding the -hosts option (alias to -host option) ? > I made the same mistake a few times before, adding a s to hosts looks more > intuitive for me. > my 0.02 US$ > > Gilles > > On Wednesday, August 26, 2015, Jeff Squyres (jsquyres) <jsquy...@cisco.com> > wrote: > Fair point. > > I don't know if there's an easy way to fix that, though. > > > > On Aug 25, 2015, at 6:01 PM, Cabral, Matias A <matias.a.cab...@intel.com> > > wrote: > > > > Hi, > > > > > > > > Playing with the 1.10.0 (just released) build I found a cosmetic misleading > > error message in mpirun. If by mistake you type -hosts (with an extra > > āsā), the error message complains about an actually not being used. Typing > > the parameters correctly fixes the issue J > > > > > > > > m> mpirun --allow-run-as-root -hosts m7,m8 -np 2 osu_latency > > > > mpirun: Error: unknown option "-o" > > > > Type 'mpirun --help' for usage. > > > > > > > > Thanks, > > > > Regards, > > > > > > > > > > > > _MAC > > > > > > > > _______________________________________________ > > devel mailing list > > de...@open-mpi.org > > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > > Link to this post: > > http://www.open-mpi.org/community/lists/devel/2015/08/17854.php > > > -- > Jeff Squyres > jsquy...@cisco.com > For corporate legal information go to: > http://www.cisco.com/web/about/doing_business/legal/cri/ > > _______________________________________________ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2015/08/17855.php > _______________________________________________ > devel mailing list > de...@open-mpi.org > Subscription: http://www.open-mpi.org/mailman/listinfo.cgi/devel > Link to this post: > http://www.open-mpi.org/community/lists/devel/2015/08/17858.php -- Jeff Squyres jsquy...@cisco.com For corporate legal information go to: http://www.cisco.com/web/about/doing_business/legal/cri/