Hi Miguel, On Mon, 26 Feb 2024 22:18:16 +0000 Miguel Landaeta <mig...@miguel.cc> wrote: > I think qbe is almost ready for an upload but it's missing a man page > and probably just need a review from another DD to be sure I didn't > miss anything important.
I have written a very simple man page for qbe (see attached patch). I have never actually used qbe directly, so I'm not sure what else should be documented there. I figured that the cli options were a good starting point, though. I'm very interested in getting hare package since I have some personal software built with it. Let me know if there's anything else I could do to make this easier :^) --puida
>From 9685361f006f5c6ce742f1224e4d62b40ba99fb2 Mon Sep 17 00:00:00 2001 From: Guilherme Puida Moreira <guilhe...@puida.xyz> Date: Wed, 10 Apr 2024 10:20:23 -0300 Subject: [PATCH] d/manpages: Create qbe.1 manpage. --- debian/manpages | 1 + debian/qbe.1 | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 debian/manpages create mode 100644 debian/qbe.1 diff --git a/debian/manpages b/debian/manpages new file mode 100644 index 0000000..663231d --- /dev/null +++ b/debian/manpages @@ -0,0 +1 @@ +debian/qbe.1 diff --git a/debian/qbe.1 b/debian/qbe.1 new file mode 100644 index 0000000..e231175 --- /dev/null +++ b/debian/qbe.1 @@ -0,0 +1,25 @@ +.Dd $Mdocdate: April 10 2024 $ +.Dt QBE 1 +.Os +.Sh NAME +.Nm qbe +.Nd small embeddable C compiler backend +.Sh SYNOPSIS +.Nm +.Op Fl h +.Op Fl o Ar file +.Op Fl t Ar target +.Op Fl d Ar flags +.Op Ar file.ssa | Fl +.Sh DESCRIPTION +The options are as follows: +.Bl -tag -width Ds +.It Fl h +Prints the help message and exits. +.It Fl o Ar file +Output to file. +.It Fl t Ar target +Generate for a target among: amd64_sysv (default), amd64_apple, arm64, arm64_apple, riscv. +.It Fl d Ar flags +Dump debug information. +.El -- 2.43.0