diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 4217cad65..7c4df4655 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -40,6 +40,8 @@ Changed now prefer the count instead of showing an error message. - `:open` now has an `--implicit` argument to treat the opened tab as implicit (i.e. to open it at the position it would be opened if it was a clicked link) +- `:download-open` and `:prompt-open-download` now have an optional `cmdline` + argument to pass a commandline to open the download with. v0.8.2 ------ diff --git a/doc/help/commands.asciidoc b/doc/help/commands.asciidoc index 54cf56042..eb384ffae 100644 --- a/doc/help/commands.asciidoc +++ b/doc/help/commands.asciidoc @@ -222,7 +222,9 @@ Open the last/[count]th download. If no specific command is given, this will use the system's default application to open the file. ==== positional arguments -* +'cmdline'+: The command which should be used to open the file. A `{}` is expanded to the temporary file name. +* +'cmdline'+: The command which should be used to open the file. A `{}` is expanded to the temporary file name. If no `{}` is + present, the filename is automatically appended to the + cmdline. ==== count @@ -1186,7 +1188,9 @@ Immediately open a download. If no specific command is given, this will use the system's default application to open the file. ==== positional arguments -* +'cmdline'+: The command which should be used to open the file. A `{}` is expanded to the temporary file name. +* +'cmdline'+: The command which should be used to open the file. A `{}` is expanded to the temporary file name. If no `{}` is + present, the filename is automatically appended to the + cmdline. ==== note