| tDocument and fix sacc version - sacc - sacc (saccomys): simple gopher client. |
| Log |
| Files |
| Refs |
| LICENSE |
| --- |
| commit 64be22d4516d31613a4a2c4a4a746c7076b1bfab |
| parent 1f9509a7c5ab03ab79d64212113bd83f194dcbcb |
| Author: Quentin Rameau |
| Date: Mon, 11 Apr 2022 00:04:42 +0200
Document and fix sacc version
Diffstat:
M sacc.1 | 9 +++++++++
M sacc.c | 2 +-
2 files changed, 10 insertions(+), 1 deletion(-)
--- |
| diff --git a/sacc.1 b/sacc.1 |
| t@@ -101,6 +101,14 @@ can be customized by creating a custom
.B config.h
and (re)compiling the source
code. This keeps it fast, secure and simple.
+.SH VERSION
+It is possible to get
+.B sacc
+version
+from the binary
+with the standard
+.BR what (1)
+tool.
.SH AUTHORS
See the
.B LICENSE
t@@ -114,5 +122,6 @@ file for the terms of redistribution.
.BR xdg-open (1)
.BR geomyidae (8)
.BR clic (1)
+.BR what (1)
.SH BUGS
Please report them to Quentin Rameau |
| diff --git a/sacc.c b/sacc.c |
| t@@ -26,7 +26,7 @@
void (*diag)(char *, ...);
-static const char *ident = "@(#) sacc(omys): " VERSION;
+const char ident[] = "@(#) sacc(omys): " VERSION;
static char intbuf[256]; /* 256B ought to be enough for any URI */
static char *mainurl; |