diff --git a/src/targets/shell/wget/client.ts b/src/targets/shell/wget/client.ts index 874fdc261..8e9fb8c04 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(); },