fix: remove double help flag #781

Merged
decentral1se merged 1 commits from fix/avoid-help-crash into main 2026-02-19 11:04:22 +00:00
4 changed files with 14 additions and 40 deletions

View File

@ -209,14 +209,6 @@ Config:
i18n.G("prefer offline & filesystem access"),
)
rootCmd.PersistentFlags().BoolVarP(
&internal.Help,
i18n.G("help"),
i18n.G("h"),
false,
i18n.G("help for abra"),
)
rootCmd.Flags().BoolVarP(
&internal.Version,
i18n.G("version"),

View File

@ -7,7 +7,7 @@
msgid ""
msgstr "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2026-02-19 00:07+0100\n"
"POT-Creation-Date: 2026-02-19 00:41+0100\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"
@ -3151,10 +3151,6 @@ msgstr ""
msgid "git: opening repository in %s"
msgstr ""
#: ./cli/run.go:215
msgid "h"
msgstr ""
#: ./cli/recipe/new.go:94
msgid "happy hacking 🎉"
msgstr ""
@ -3171,18 +3167,10 @@ msgstr ""
msgid "healthcheck enabled for all services"
msgstr ""
#: ./cli/run.go:214
msgid "help"
msgstr ""
#: ./cli/run.go:52
msgid "help [command]"
msgstr ""
#: ./cli/run.go:217
msgid "help for abra"
msgstr ""
#: ./cli/app/restore.go:129
msgid "hooks"
msgstr ""
@ -5553,7 +5541,7 @@ msgstr ""
#. translators: `abra recipe versions` aliases. use a comma separated list of aliases
#. with no spaces in between
#: ./cli/app/backup.go:311 ./cli/app/restore.go:122 ./cli/recipe/version.go:19 ./cli/run.go:223 ./cli/server/prune.go:107
#: ./cli/app/backup.go:311 ./cli/app/restore.go:122 ./cli/recipe/version.go:19 ./cli/run.go:215 ./cli/server/prune.go:107
msgid "v"
msgstr ""
@ -5581,7 +5569,7 @@ msgstr ""
msgid "vendor config versions in an abra.sh"
msgstr ""
#: ./cli/run.go:222
#: ./cli/run.go:214
msgid "version"
msgstr ""
@ -5600,7 +5588,7 @@ msgstr ""
msgid "version : %s, "
msgstr ""
#: ./cli/run.go:225
#: ./cli/run.go:217
msgid "version for abra"
msgstr ""

Binary file not shown.

View File

@ -2,7 +2,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: EMAIL\n"
"POT-Creation-Date: 2026-02-19 00:07+0100\n"
"POT-Creation-Date: 2026-02-19 00:41+0100\n"
"PO-Revision-Date: 2026-02-18 13:52+0000\n"
"Last-Translator: chasqui <chasqui@cryptolab.net>\n"
"Language-Team: Spanish <https://translate.coopcloud.tech/projects/co-op-"
@ -3902,10 +3902,6 @@ msgstr "el repositorio git.coopcloud.tech existe"
msgid "git: opening repository in %s"
msgstr "git: abriendo repositorio en %s"
#: cli/run.go:215
msgid "h"
msgstr ""
#: cli/recipe/new.go:94
msgid "happy hacking 🎉"
msgstr "¡Feliz hackeo! 🎉"
@ -3922,18 +3918,10 @@ msgstr "Chequeo de salud"
msgid "healthcheck enabled for all services"
msgstr "chequeo de salud activo para todos los servicios"
#: cli/run.go:214
msgid "help"
msgstr "ayuda"
#: cli/run.go:52
msgid "help [command]"
msgstr "ayuda [command]"
#: cli/run.go:217
msgid "help for abra"
msgstr "Ayuda para el uso de comandos"
#: cli/app/restore.go:129
msgid "hooks"
msgstr ""
@ -6418,7 +6406,7 @@ msgstr "usando el directorio abra predeterminado"
#. translators: `abra recipe versions` aliases. use a comma separated list of aliases
#. with no spaces in between
#: cli/app/backup.go:311 cli/app/restore.go:122 cli/recipe/version.go:19
#: cli/run.go:223 cli/server/prune.go:107
#: cli/run.go:215 cli/server/prune.go:107
msgid "v"
msgstr ""
@ -6446,7 +6434,7 @@ msgstr "validado %s como argumento de servidor"
msgid "vendor config versions in an abra.sh"
msgstr "versiones de configuración del proveedor en un abra.sh"
#: cli/run.go:222
#: cli/run.go:214
msgid "version"
msgstr ""
@ -6467,7 +6455,7 @@ msgstr ""
msgid "version : %s, "
msgstr ""
#: cli/run.go:225
#: cli/run.go:217
msgid "version for abra"
msgstr "conocer versión de abra"
@ -6673,6 +6661,12 @@ msgstr ""
msgid "{name: %s, "
msgstr "{nombre: %s, "
#~ msgid "help"
#~ msgstr "ayuda"
#~ msgid "help for abra"
#~ msgstr "Ayuda para el uso de comandos"
#~ msgid "Sync recipe version label"
#~ msgstr "Sincronizar versión de la receta 🧑‍🍳"