You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apologies if this is mentioned in the documentation, but what is the recommended way to consistently refer to arguments in documentation?
For example if I have a flag --do-it-this-way, I usually define a variable with value "do-it-this-way" and then sprintf it into the documentation (such as in an examples or doc of another argument). This is a bit tedious and I wonder if cmdliner supports a better pattern?
The text was updated successfully, but these errors were encountered:
In the doc of an option itself you can use $(opt) as mentioned here. Other than there's nothing else you can do. There was a plan for this but TBH I find that a bit overkill.
Apologies if this is mentioned in the documentation, but what is the recommended way to consistently refer to arguments in documentation?
For example if I have a flag --do-it-this-way, I usually define a variable with value "do-it-this-way" and then
sprintf
it into the documentation (such as in an examples or doc of another argument). This is a bit tedious and I wonder if cmdliner supports a better pattern?The text was updated successfully, but these errors were encountered: