From d01f25058f05fe7a7ae6ca56edb1756160d06d38 Mon Sep 17 00:00:00 2001
From: librelois <c@elo.tf>
Date: Mon, 10 May 2021 22:47:22 +0200
Subject: [PATCH] fix(cli): --max-old-space-size is not conventional

---
 rust-bins/duniter-cli/src/duniter_ts_args.rs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/rust-bins/duniter-cli/src/duniter_ts_args.rs b/rust-bins/duniter-cli/src/duniter_ts_args.rs
index 37d02734f..dfda1490a 100644
--- a/rust-bins/duniter-cli/src/duniter_ts_args.rs
+++ b/rust-bins/duniter-cli/src/duniter_ts_args.rs
@@ -39,11 +39,7 @@ fn gen_webstart_args(args: &DuniterWebstartArgs, duniter_ts_args: &mut Vec<Strin
 }
 
 pub(crate) fn gen_duniter_ts_args(args: &DuniterArgs, duniter_js_exe: String) -> Vec<String> {
-    let mut duniter_ts_args = vec![
-        "--max-old-space-size".to_owned(),
-        "4096".to_owned(),
-        duniter_js_exe,
-    ];
+    let mut duniter_ts_args = vec!["--max-old-space-size=4096".to_owned(), duniter_js_exe];
     if let Some(ref home) = args.home {
         duniter_ts_args.push("--home".to_owned());
         duniter_ts_args.push(home.to_str().expect("invalid home path").to_owned());
-- 
GitLab