From 909e5dbd015a35aaa77fde598c31937e3ae005a1 Mon Sep 17 00:00:00 2001 From: Boris Verkhovskiy Date: Tue, 21 Mar 2023 15:59:18 +0100 Subject: [PATCH] Put argument for --output-document on the same line --- src/targets/shell/wget/client.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/targets/shell/wget/client.ts b/src/targets/shell/wget/client.ts index 874fdc26..8e9fb8c0 100644 --- a/src/targets/shell/wget/client.ts +++ b/src/targets/shell/wget/client.ts @@ -55,8 +55,8 @@ export const wget: Client = { push(`--body-data ${escape(quote(postData.text))}`); } - push(opts.short ? '-O' : '--output-document'); - push(`- ${quote(fullUrl)}`); + push((opts.short ? '-O' : '--output-document') + ' -'); + push(quote(fullUrl)); return join(); },