-
Notifications
You must be signed in to change notification settings - Fork 429
Format <seealso> values of -xml-config in the same way as <eqconfig> values of -xml-help #493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@eric-brechemier thanks for this issue... Similar to my comment in #491, why would you want the As indicated there, they come from different tables, with different level of information about an option. While processing the While processing the '-xml-help', namely the So in the first case, In the second case, Maybe I misunderstand something here... or got something wrong... please explain... thanks... |
@geoffmcl the idea was to allow referring to both kinds of options in The general idea between this issue and #491 was to introduce a new convention to refer to command-line options (prefixed by a single dash) and configuration options (prefixed by a double dash), notwithstanding the fact that configuration options can also be used without the double dashes, in configuration files. |
Kind of the same thing as I mentioned in #491 is going on here, too. Maybe it could work with a new key instead of To do it the right, “Tidy” way you’d want to define another structure with string values for the CLI switches, and write new iterators and accessors, and finally call them from the console application. I’d welcome a PR, and either @geoffmcl or I could coach you along the way. |
@eric-brechemier, @balthisar, now I understand more, am certainly all for for more cross reference help information... As carefully clarified here and some other related comments, there are two levels of help -
Now the console app also allows the config options to be put in config file, and used on the command line, with a double dash. The list 1. is built from a table, The list 2. is built from a table, But I do not see it correct that another structure be added to the When doing the And the services So it seems to me, if we want this cross reference between In As stated, would welcome a PR on this, and would help in any way I can... thanks... |
There's nothing currently in |
@balthisar what about the Like |
I guess if @eric-brechemier is motivated enough, that could work. If we were outputting |
@balthisar not sure why you make it sound difficult... If we are outputting Then a simple case of going though Of course there are probably a lot of config options that do not have a command line alternative... maybe output as Easy as pie - c'est du gateau in French ;=)) |
I thought I did make it sound easy! "That's the cat's"? Probably gateau's not a cognate of the Spanish gato... |
Wow, what would you say if you wanted to make it sound hard? ;=)) A literal translation of the french would be |
:) I don't have much time to dive into C code (my C skills are a bit rusty), but I can make any changes required in the XSLT for the |
@eric-brechemier, have a look at #510. If it's okay, I'll merge it and then close this issue. |
Merged, and closed. |
In
tidy-help.xml
, the output oftidy -xml-help
, the<eqconfig>
values include the initial dash and the format of the expected value:while currently in
tidy-config.xml
, the output oftidy -xml-config
, only the name of the option is included in<seealso>
values:Including the initial dash would allow to refer both to command-line options and configuration options in
<seealso>
values:The text was updated successfully, but these errors were encountered: