чување 658c95688b0b68a56ee2c4465cff92d0d4745c2a
родитељ d6e8658a85c0c2cf7c682ffc673cdebdff0ea7b8
Аутор: Страхиња Радић <contact@strahinja.org>
Датум: Mon, 29 Apr 2024 19:09:48 +0200
poe.c: Add missing part of copyright; poe.1.in: Add missing .Nm
Signed-off-by: Страхиња Радић <contact@strahinja.org>
Diffstat:
измењених датотека: 2, додавања: 12(+), брисања: 7(-)
diff --git a/poe.1.in b/poe.1.in
@@ -12,6 +12,7 @@
.Fl h | \-help | Fl V | \-full\-version | Fl v | \-version |
.Ar filename.po
.Sh DESCRIPTION
+.Nm
is a .po (GNU gettext) file editor with a terminal UI.
.Bl -tag -width Ds
.It Fl h | \-help
diff --git a/poe.c b/poe.c
@@ -15,12 +15,16 @@
#define TB_OPT_V1_COMPAT
#define TB_IMPL
-#define COPYRIGHT \
- (" This program is licensed under the terms of GNU GPL v3" \
- " or (at your option)\n" \
- " any later version. Copyright (C) 2021-2024 Strahinya Radich.\n" \
- " See the file LICENSE for exact copyright and license " \
- "details.\n")
+#define COPYRIGHT \
+ (" This program is licensed under the terms of GNU GPL v3" \
+ " or (at your option)\n" \
+ " any later version. Copyright (C) 2021-2024 Strahinya Radich.\n" \
+ " See the file LICENSE for exact copyright and license " \
+ "details.\n" \
+ " File termbox.h is based on termbox2 TUI library, (c) 2021" \
+ " termbox developers,\n" \
+ " which is released under the terms of Expat license, see the file" \
+ " LICENSE.termbox.\n")
#define POE_C_GLOBALS
#include "version.h"
@@ -2157,7 +2161,7 @@ main(int argc, char** argv)
if (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help"))
{
printf("Usage: %s -h | --help | -V | --full-version | -v |"
- " --version | filename.po\n",
+ " --version | filename.po\n",
PROGRAMNAME);
return 0;
}