From 7d9a412c62e0d08493b3f59db884c58b8a3707e3 Mon Sep 17 00:00:00 2001 From: Francois-Rene Rideau Date: Sat, 28 Oct 2023 07:39:06 -0400 Subject: [PATCH] Doc fixes --- doc/reference/std/cli/getopt.md | 4 ++-- doc/reference/std/cli/multicall.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/reference/std/cli/getopt.md b/doc/reference/std/cli/getopt.md index b959fd77a..4bec6f3b3 100644 --- a/doc/reference/std/cli/getopt.md +++ b/doc/reference/std/cli/getopt.md @@ -189,7 +189,7 @@ For an example, here the a command line parser for the `gxpkg` program: ``` -### getopt-parse->function-arguments +### getopt-parse->function-arguments ```scheme (getopt-parse->function-arguments getopt h) => list-of-arguments ``` @@ -250,7 +250,7 @@ e.g. with prototype objects like `gerbil-poo`. TODO: add examples, discuss abort-on-error behavior, lack of automatic help, etc. -### ->getopt-spec +### ->getopt-spec ```scheme (->getopt-spec arg) => list-of-getopt-arguments ``` diff --git a/doc/reference/std/cli/multicall.md b/doc/reference/std/cli/multicall.md index e23327040..1b044fd14 100644 --- a/doc/reference/std/cli/multicall.md +++ b/doc/reference/std/cli/multicall.md @@ -64,7 +64,7 @@ return a getopt-spec (suitable to be passed to `(apply getopt ...)`) of Register the function as entry-point, with given `name` (argument passed to `make-symbol`), or if not specified, a symbol made of only the -[easy-shell-characters](shell.md#easy-shell-characters?) of `id`. +[easy-shell-characters](shell.md#easy-shell-characters) of `id`. The entry-point will have the given `help` and `getopt` fields. ### define-entry-point