Skip to content

Commit

Permalink
Manpage, tweak intro of exit status section (closes dbuenzli#168).
Browse files Browse the repository at this point in the history
Signed-off-by: Etienne Millon <[email protected]>
  • Loading branch information
dbuenzli authored and emillon committed Sep 25, 2023
1 parent cbf712c commit 3fcc96f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions src/cmdliner_manpage.ml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ let s_arguments = "ARGUMENTS"
let s_options = "OPTIONS"
let s_common_options = "COMMON OPTIONS"
let s_exit_status = "EXIT STATUS"
let s_exit_status_intro =
`P "$(tname) exits with the following status:"
let s_exit_status_intro = `P "$(tname) exits with:"

let s_environment = "ENVIRONMENT"
let s_environment_intro =
Expand Down
6 changes: 3 additions & 3 deletions test/darcs.t
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
Use ddaarrccss hheellpp eennvviirroonnmmeenntt for help on environment variables.

EEXXIITT SSTTAATTUUSS
iinniittiiaalliizzee exits with the following status:
iinniittiiaalliizzee exits with:

0 on success.

Expand Down Expand Up @@ -128,7 +128,7 @@
Use ddaarrccss hheellpp eennvviirroonnmmeenntt for help on environment variables.

EEXXIITT SSTTAATTUUSS
ddaarrccss exits with the following status:
ddaarrccss exits with:

0 on success.

Expand Down Expand Up @@ -195,7 +195,7 @@
Use ddaarrccss hheellpp eennvviirroonnmmeenntt for help on environment variables.

EEXXIITT SSTTAATTUUSS
ddaarrccss exits with the following status:
ddaarrccss exits with:

0 on success.

Expand Down

0 comments on commit 3fcc96f

Please sign in to comment.