Skip to content

Commit

Permalink
[new release] cmdliner (1.2.0+dune) (#210)
Browse files Browse the repository at this point in the history
CHANGES:

- In manpage specification the new variable `$(iname)` substitutes the
  command invocation (from program name to subcommand) in bold (dune-universe/cmdliner#168).
  This variable is now used in the default introduction of the `EXIT STATUS`
  section. Thanks to Ali Caglayan for suggesting.
- Fix manpage rendering when `PAGER=less` is set (dune-universe/cmdliner#167).
- Plain text manpage rendering: fix broken handling of `` `Noblank ``.
  Thanks to Michael Richards and Reynir Björnsson for the report (dune-universe/cmdliner#176).
- Fix install to directory with spaces (dune-universe/cmdliner#172). Thanks to
  @ZSFactory for reporting and suggesting the fix.
- Fix manpage paging on Windows (dune-universe/cmdliner#166). Thanks to Nicolás Ojeda Bär
  for the report and the solution.
  • Loading branch information
tmattio committed Nov 6, 2023
1 parent 7c900a9 commit 91a3717
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions packages/cmdliner/cmdliner.1.2.0+dune/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
opam-version: "2.0"
synopsis: """Declarative definition of command line interfaces for OCaml"""
maintainer: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
authors: ["The cmdliner programmers"]
homepage: "https://github.com/dune-universe/cmdliner"
dev-repo: "git+https://github.com/dune-universe/cmdliner.git"
bug-reports: "https://github.com/dbuenzli/cmdliner/issues"
license: ["ISC"]
tags: ["cli" "system" "declarative" "org:erratique"]
depends: [
"dune"
"ocaml" {>= "4.08.0"}
]
build: [ "dune" "build" "-p" name "-j" jobs ]
description: """
Cmdliner allows the declarative definition of command line interfaces
for OCaml.

It provides a simple and compositional mechanism to convert command
line arguments to OCaml values and pass them to your functions. The
module automatically handles syntax errors, help messages and UNIX man
page generation. It supports programs with single or multiple commands
and respects most of the [POSIX][1] and [GNU][2] conventions.

Cmdliner has no dependencies and is distributed under the ISC license.

[1]: http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html
[2]: http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html

Home page: http://erratique.ch/software/cmdliner"""
url {
src:
"https://github.com/dune-universe/cmdliner/releases/download/v1.2.0%2Bdune/cmdliner-1.2.0.dune.tbz"
checksum: [
"sha256=84358d8e1f373f38a466418bf707109989417d5eb6a3b26e51030ea893a23f7b"
"sha512=c921bb960598ba9a33e93c3a4efd0ca13578f3c8033c0cb2323e7416ed2404ca65fa467631a8e8138708bb6f4b0690747a7eb22d59c5b4dec7ea2e2b77f751e4"
]
}
x-commit-hash: "dc29734dc7c0917e83785760f6271d0d8677dba1"

0 comments on commit 91a3717

Please sign in to comment.