From 8de46d1d7d08f8ecc40f049be9889efac36a6e78 Mon Sep 17 00:00:00 2001 From: Manlio Perillo Date: Wed, 25 Jan 2023 09:43:26 +0100 Subject: [PATCH] langref: move paragraph inside the p element In the "C Translation CLI" section, move the paragraph inside the p element. The current HTML is valid, but, as an example, a paragraph outside a p element is not handled correctly by the browser Inspect tool. --- doc/langref.html.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/langref.html.in b/doc/langref.html.in index c06f40366c3a..225ee48b9fe5 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -10656,9 +10656,11 @@ const c = @cImport({ {#header_close#} {#header_open|C Translation CLI#} +

Zig's C translation capability is available as a CLI tool via zig translate-c. It requires a single filename as an argument. It may also take a set of optional flags that are forwarded to clang. It writes the translated file to stdout. +

{#header_open|Command line flags#}