Skip to content

doc: mention correct exit codes in the manpage#7405

Merged
emillon merged 1 commit intoocaml:mainfrom
emillon:doc-exit-codes
Mar 24, 2023
Merged

doc: mention correct exit codes in the manpage#7405
emillon merged 1 commit intoocaml:mainfrom
emillon:doc-exit-codes

Conversation

@emillon
Copy link
Copy Markdown
Collaborator

@emillon emillon commented Mar 24, 2023

Fixes #7296

This passes the correct ~exits docs to cmdliner.
In addition this adds a tiny abstraction layer to exit codes so that we keep this in sync.

@emillon emillon added the docs Documentation improvements label Mar 24, 2023
@emillon emillon requested a review from Alizter March 24, 2023 14:10
@emillon
Copy link
Copy Markdown
Collaborator Author

emillon commented Mar 24, 2023

Ah, this does not fix dune --help, dune build --help etc.

@emillon
Copy link
Copy Markdown
Collaborator Author

emillon commented Mar 24, 2023

This should be good now.

Copy link
Copy Markdown
Collaborator

@Alizter Alizter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry I did not mean to block my confirmation.

Fixes ocaml#7296

This passes the correct `~exits` docs to cmdliner.
In addition this adds a tiny abstraction layer to exit codes so that
we keep this in sync.

Signed-off-by: Etienne Millon <me@emillon.org>
@emillon emillon merged commit cdc7973 into ocaml:main Mar 24, 2023
@emillon emillon deleted the doc-exit-codes branch March 24, 2023 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Exit codes don't match help text

2 participants