Julia: Command line flag `machinefile` should be `machine-file`

Created on 17 Jan 2018  路  6Comments  路  Source: JuliaLang/julia

To match startup-file and history-file. Alternatively, the latter two could be changed. I think this has been mentioned somewhere previously but I couldn't find it. Should probably be done before 1.0.

good first issue help wanted

Most helpful comment

Yes, except that we probably want to keep --machinefile for now, doing the same as --machine-file, but also printing a deprecation warning to use the latter.

All 6 comments

Seems easier and more "correct" to change --machinefile to --machine-file.

Seems unobjectionable to me. If done before 1.0, can be deprecated, otherwise can be added as an alias.

Hi, I would like to start contributing to Julia by working on this issue. So far, I think, changing the { "machinefile", required_argument, 0, opt_machinefile }, in jloptions.c file should do it, right? Also, the README will be updated. Am I right?

Yes, except that we probably want to keep --machinefile for now, doing the same as --machine-file, but also printing a deprecation warning to use the latter.

You can see other similar deprecation warnings for old versions of various options in that file if you look around.

Made a PR for this at #25673

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iamed2 picture iamed2  路  3Comments

manor picture manor  路  3Comments

omus picture omus  路  3Comments

dpsanders picture dpsanders  路  3Comments

wilburtownsend picture wilburtownsend  路  3Comments