From 3c0da1ccb6fb71786c196e22005ec2cfefb44b74 Mon Sep 17 00:00:00 2001 From: Bob Polis Date: Tue, 15 Jul 2025 16:21:26 +0200 Subject: [PATCH] Add relevant help text --- man/man1/curly.1 | 36 ++++++++++++++---------------------- 1 file changed, 14 insertions(+), 22 deletions(-) diff --git a/man/man1/curly.1 b/man/man1/curly.1 index 95c52f5..7b4afca 100644 --- a/man/man1/curly.1 +++ b/man/man1/curly.1 @@ -1,56 +1,48 @@ -.Dd $Mdocdate$ +.Dd July 15, 2025 .Dt curly 1 .Os .Sh NAME .Nm curly -.Nd one line about what it does -.\" .Sh LIBRARY -.\" For sections 2, 3, and 9 only. -.\" Not used in OpenBSD. +.Nd implementation of the Krul language .Sh SYNOPSIS .Nm -.Fl h | v +.Fl h +.Nm +.Fl \-version .Nm .Op Ar .Sh DESCRIPTION -The +Without any arguments, .Nm -utility processes files ... -When no file arguments are given, -.Nm -will read from the standard input. +will solve the Krul puzzle from the +.Lk https://bobpolis.com/krul +website. +.Pp +With arguments, it will act as an interpreter for Krul code that is assumed to +be in the given files, and run it. .Pp The options are as follows: .Bl -tag -width Ds .It Fl h, \-help Print help text and exit. -.It Fl v, \-version +.It Fl \-version Print version info and exit. .El -.\" .Sh CONTEXT -.\" For section 9 functions only. -.\" .Sh IMPLEMENTATION NOTES -.\" Not used in OpenBSD. -.\" .Sh RETURN VALUES -.\" For sections 2, 3, and 9 function return values only. .\" .Sh ENVIRONMENT .\" For sections 1, 6, 7, and 8 only. .\" .Sh FILES .Sh EXIT STATUS -.\" For sections 1, 6, and 8 only. .Nm exits 0 on success, and 1 if an error occurs. .\" .Sh EXAMPLES .\" .Sh DIAGNOSTICS .\" For sections 1, 4, 6, 7, 8, and 9 printf/stderr messages only. -.\" .Sh ERRORS -.\" For sections 2, 3, 4, and 9 errno settings only. .\" .Sh SEE ALSO .\" .Xr foobar 1 .\" .Sh STANDARDS .\" .Sh HISTORY .Sh AUTHORS -Bob Polis +.An Bob Polis .\" .Sh CAVEATS .\" .Sh BUGS .\" .Sh SECURITY CONSIDERATIONS