InvokeAI icon indicating copy to clipboard operation
InvokeAI copied to clipboard

[enhancement]: deprecate underscores in CLI flags

Open ebr opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Contact Details

No response

What should this feature add?

mentioned in Discord

It is unusual for a script to use an underscore in a -- parameter. I was expecting --root-dir to work, but it has to be --root_dir

This has been mentioned by a few other users.

Add the hyphenated syntax to args while retaining old syntax for backwards compatibility.

Alternatives

No response

Aditional Content

No response

ebr avatar Dec 14 '22 06:12 ebr