Document and fix sacc version - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 64be22d4516d31613a4a2c4a4a746c7076b1bfab
DIR parent 1f9509a7c5ab03ab79d64212113bd83f194dcbcb
HTML Author: Quentin Rameau <quinq@fifth.space>
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(-)
---
DIR diff --git a/sacc.1 b/sacc.1
@@ -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
@@ -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 <quinq@fifth.space>
DIR diff --git a/sacc.c b/sacc.c
@@ -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;