mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 20:31:19 -03:00
ulimit: remove unreachable error message
When there is no limit value, ulimit will have printed the current one and exited Part of #12603
This commit is contained in:
committed by
Johannes Altmanninger
parent
8d92016e72
commit
c3e3658157
@@ -507,10 +507,6 @@ msgstr ""
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr "%s: Fehlendes '--'-Trennzeichen"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr "%s: Neues Limit darf keine leere Zeichenkette sein"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr ""
|
||||
|
||||
@@ -507,10 +507,6 @@ msgstr ""
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr "%s: No binding found for key “%s”"
|
||||
|
||||
@@ -507,10 +507,6 @@ msgstr "%s: La opción larga '%s' ya está definida"
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr "%s: Falta el separador --"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr "%s: El nuevo límite no puede ser un string vacío"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr "%s: No se encontró una asignación para la tecla '%s'"
|
||||
|
||||
@@ -636,10 +636,6 @@ msgstr ""
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr "%s : Séparateur -- manquant"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr "%s : La nouvelle limite ne peut être une chaîne vide"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr "%s : Aucun lien trouvé pour la combinaison %s"
|
||||
|
||||
@@ -506,10 +506,6 @@ msgstr "%s: ロングフラグ '%s' はすでに定義されています"
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr "%s: -- セパレータがありません"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr "%s: 新しい制限値を空文字列にすることはできません"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr "%s: キー '%s' のバインドが見つかりません"
|
||||
|
||||
@@ -503,10 +503,6 @@ msgstr ""
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr ""
|
||||
|
||||
@@ -508,10 +508,6 @@ msgstr ""
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr ""
|
||||
|
||||
@@ -504,10 +504,6 @@ msgstr ""
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr ""
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr ""
|
||||
|
||||
@@ -528,10 +528,6 @@ msgstr "%s: 长标识 '%s' 已定义"
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr "%s: 缺少 -- 分隔符"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr "%s: 新限制不能为空字符串"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr "%s: 未找到键 '%s' 的绑定"
|
||||
|
||||
@@ -501,10 +501,6 @@ msgstr "%s:定義過長旗標「%s」了"
|
||||
msgid "%s: Missing -- separator"
|
||||
msgstr "%s:缺少 -- 分隔"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: New limit cannot be an empty string"
|
||||
msgstr "%s:新的限制不能是空字串"
|
||||
|
||||
#, c-format
|
||||
msgid "%s: No binding found for key '%s'"
|
||||
msgstr "%s:找不到按鍵「%s」的綁定"
|
||||
|
||||
@@ -370,14 +370,8 @@ pub fn ulimit(parser: &Parser, streams: &mut IoStreams, args: &mut [&wstr]) -> B
|
||||
BUILTIN_ULIMIT_INVALID "%s: Invalid limit '%s'"
|
||||
}
|
||||
|
||||
let new_limit: rlim_t = if w.wopt_index == argc {
|
||||
streams.err.appendln(&wgettext_fmt!(
|
||||
"%s: New limit cannot be an empty string",
|
||||
cmd
|
||||
));
|
||||
builtin_print_error_trailer(parser, streams.err, cmd);
|
||||
return Err(STATUS_INVALID_ARGS);
|
||||
} else if wcscasecmp(w.argv[w.wopt_index], L!("unlimited")) == Ordering::Equal {
|
||||
let new_limit: rlim_t = if wcscasecmp(w.argv[w.wopt_index], L!("unlimited")) == Ordering::Equal
|
||||
{
|
||||
RLIM_INFINITY
|
||||
} else if wcscasecmp(w.argv[w.wopt_index], L!("hard")) == Ordering::Equal {
|
||||
match get(what, true) {
|
||||
|
||||
Reference in New Issue
Block a user