Skip to content
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

Revert "Add missing Cmdliner.Manpage.escape calls" #4129

Merged
merged 2 commits into from
Apr 16, 2020

Conversation

AltGr
Copy link
Member

@AltGr AltGr commented Apr 6, 2020

This reverts commit 8883517.

This patch makes the cmdliner escapes $(i,xxx) appear verbatim in the
man-page. Probably the solution is to replace the file_sep used, or use
another escaping function instead. @dra27 ?

@AltGr AltGr added this to the 2.1.0~beta milestone Apr 6, 2020
This reverts commit 8883517.

This patch makes the cmdliner escapes `$(i,xxx)` appear verbatim in
the man-page. Probably the solution is to replace the file_sep used,
or use another escaping function instead. @dra27 ?
@rjbou
Copy link
Collaborator

rjbou commented Apr 15, 2020

Added OpamArg.dir_sep that escapes windows dir sep

* OpamArg.dir_sep, an escaped windows separator
* OpamArg.escape_path, a function to escape windows paths
@AltGr AltGr merged commit 8520b17 into ocaml:master Apr 16, 2020
@dra27
Copy link
Member

dra27 commented Apr 16, 2020

Sorry for lag - yes, that fix of mine was pretty dumb, yours is much better! 🙂

@rjbou rjbou linked an issue Apr 16, 2020 that may be closed by this pull request
@rjbou rjbou mentioned this pull request Apr 16, 2020
rjbou added a commit that referenced this pull request Apr 20, 2020
2.0.7 backported commits

* Properly escape Windows paths on manpages [#4129 @AltGr @rjbou]
* Fix opam installer opam file [#4058 @rjbou]
* Fix various warnings [#4132 @rjbou @AltGr - fix #4100]
* Fix dune 2.5.0 promote-install-files duplication [#4132 @rjbou ]
* opam exec: display command not found message [#4133 @rjbou - fix #4131]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Opam compilation on Cygwin fails (opam-admin-cache)
3 participants