summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2025-09-07 15:56:21 +0200
committerThomas Voss <mail@thomasvoss.com> 2025-09-07 15:56:21 +0200
commit3e23f520469f7da2873a8635942e165bd7ccba1d (patch)
tree4fcd54176f7961784203651d701731879196340c
parenta07693893601c8f9f7f65d07daa6db5c79afcb9d (diff)
Fix usage string
-rw-r--r--main.c5
-rw-r--r--po/pt/LC_MESSAGES/tiktok.po20
-rw-r--r--po/pt_BR/LC_MESSAGES/tiktok.po20
-rw-r--r--po/sv/LC_MESSAGES/tiktok.po20
-rw-r--r--po/tiktok.pot14
5 files changed, 48 insertions, 31 deletions
diff --git a/main.c b/main.c
index 688683e..49fb136 100644
--- a/main.c
+++ b/main.c
@@ -29,7 +29,10 @@ time_t syncs(time_t), syncm(time_t), synch(time_t);
[[noreturn]] static void
usage(const char *argv0)
{
- fprintf(stderr, _("Usage: %s [-h] [-i interval] [format]\n"), argv0);
+ fprintf(stderr,
+ _("Usage: %s [-i interval] [format]\n"
+ " %s -h\n"),
+ argv0, argv0);
exit(EXIT_FAILURE);
}
diff --git a/po/pt/LC_MESSAGES/tiktok.po b/po/pt/LC_MESSAGES/tiktok.po
index 1530a4e..8652e83 100644
--- a/po/pt/LC_MESSAGES/tiktok.po
+++ b/po/pt/LC_MESSAGES/tiktok.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-09-06 15:47+0200\n"
-"PO-Revision-Date: 2025-09-05 16:04+0200\n"
+"POT-Creation-Date: 2025-09-07 15:25+0200\n"
+"PO-Revision-Date: 2025-09-07 15:56+0200\n"
"Last-Translator: Thomas Voss <mail@thomasvoss.com>\n"
"Language-Team: Portuguese <translation-team-pt@lists.sourceforge.net>\n"
"Language: pt\n"
@@ -17,12 +17,16 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: main.c:31
+#: main.c:33
#, c-format
-msgid "Usage: %s [-h] [-i interval] [format]\n"
-msgstr "Utilização: %s [-h] [-i intervalo] [formato]\n"
+msgid ""
+"Usage: %s [-i interval] [format]\n"
+" %s -h\n"
+msgstr ""
+"Utilização: %s [-i intervalo] [formato]\n"
+" %s -h\n"
-#: main.c:66
+#: main.c:71
#, c-format
msgid ""
"invalid interval ‘%s’\n"
@@ -31,10 +35,10 @@ msgstr ""
"intervalo inválido «%s»\n"
"Leia a página do manual do %s(1) para intervalos válidos"
-#: main.c:90 main.c:100
+#: main.c:95 main.c:105
msgid "failed to get the time"
msgstr "não conseguiu obter o tempo"
-#: main.c:96
+#: main.c:101
msgid "buffer too small"
msgstr "buffer demasiado pequeno"
diff --git a/po/pt_BR/LC_MESSAGES/tiktok.po b/po/pt_BR/LC_MESSAGES/tiktok.po
index 7b5815e..ffddd54 100644
--- a/po/pt_BR/LC_MESSAGES/tiktok.po
+++ b/po/pt_BR/LC_MESSAGES/tiktok.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-09-06 15:47+0200\n"
-"PO-Revision-Date: 2025-09-05 16:12+0200\n"
+"POT-Creation-Date: 2025-09-07 15:25+0200\n"
+"PO-Revision-Date: 2025-09-07 15:55+0200\n"
"Last-Translator: Thomas Voss <mail@thomasvoss.com>\n"
"Language-Team: Brazilian Portuguese <ldpbr-"
"translation@lists.sourceforge.net>\n"
@@ -18,12 +18,16 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: main.c:31
+#: main.c:33
#, c-format
-msgid "Usage: %s [-h] [-i interval] [format]\n"
-msgstr "Utilização: %s [-h] [-i intervalo] [formato]\n"
+msgid ""
+"Usage: %s [-i interval] [format]\n"
+" %s -h\n"
+msgstr ""
+"Utilização: %s [-i intervalo] [formato]\n"
+" %s -h\n"
-#: main.c:66
+#: main.c:71
#, c-format
msgid ""
"invalid interval ‘%s’\n"
@@ -32,10 +36,10 @@ msgstr ""
"intervalo inválido “%s”\n"
"Leia a página do manual do %s(1) para intervalos válidos"
-#: main.c:90 main.c:100
+#: main.c:95 main.c:105
msgid "failed to get the time"
msgstr "não conseguiu obter o tempo"
-#: main.c:96
+#: main.c:101
msgid "buffer too small"
msgstr "buffer pequeno demais"
diff --git a/po/sv/LC_MESSAGES/tiktok.po b/po/sv/LC_MESSAGES/tiktok.po
index ac19815..7d58c7d 100644
--- a/po/sv/LC_MESSAGES/tiktok.po
+++ b/po/sv/LC_MESSAGES/tiktok.po
@@ -7,8 +7,8 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-09-06 15:47+0200\n"
-"PO-Revision-Date: 2025-09-05 15:18+0200\n"
+"POT-Creation-Date: 2025-09-07 15:25+0200\n"
+"PO-Revision-Date: 2025-09-07 15:55+0200\n"
"Last-Translator: Thomas Voss <mail@thomasvoss.com>\n"
"Language-Team: Swedish <tp-sv@listor.tp-sv.se>\n"
"Language: sv\n"
@@ -17,12 +17,16 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: main.c:31
+#: main.c:33
#, c-format
-msgid "Usage: %s [-h] [-i interval] [format]\n"
-msgstr "Användning: %s [-h] [-i intervall] [format]\n"
+msgid ""
+"Usage: %s [-i interval] [format]\n"
+" %s -h\n"
+msgstr ""
+"Användning: %s [-i intervall] [format]\n"
+" %s -h\n"
-#: main.c:66
+#: main.c:71
#, c-format
msgid ""
"invalid interval ‘%s’\n"
@@ -31,10 +35,10 @@ msgstr ""
"ogiltigt intervall ”%s”\n"
"Läs %s(1)-manualsidan för giltiga intervall"
-#: main.c:90 main.c:100
+#: main.c:95 main.c:105
msgid "failed to get the time"
msgstr "misslyckades med att få tiden"
-#: main.c:96
+#: main.c:101
msgid "buffer too small"
msgstr "bufferten är för liten"
diff --git a/po/tiktok.pot b/po/tiktok.pot
index bb89537..c9309a1 100644
--- a/po/tiktok.pot
+++ b/po/tiktok.pot
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2025-09-06 15:47+0200\n"
+"POT-Creation-Date: 2025-09-07 15:25+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -17,22 +17,24 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-#: main.c:31
+#: main.c:33
#, c-format
-msgid "Usage: %s [-h] [-i interval] [format]\n"
+msgid ""
+"Usage: %s [-i interval] [format]\n"
+" %s -h\n"
msgstr ""
-#: main.c:66
+#: main.c:71
#, c-format
msgid ""
"invalid interval ‘%s’\n"
"Read the %s(1) manual page for valid intervals"
msgstr ""
-#: main.c:90 main.c:100
+#: main.c:95 main.c:105
msgid "failed to get the time"
msgstr ""
-#: main.c:96
+#: main.c:101
msgid "buffer too small"
msgstr ""