From 4c969eb8e1a7be40eb1cef9e522c9321bac10eaa Mon Sep 17 00:00:00 2001 From: Rodrigo Dias Date: Mon, 23 Jan 2023 17:48:22 +0000 Subject: [PATCH] missing example in documentation on github #31425 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd888c731..3ca5bb941 100644 --- a/README.md +++ b/README.md @@ -632,7 +632,7 @@ To use percent literals in an output template use `%%`. To output to stdout use The current default template is `%(title)s-%(id)s.%(ext)s`. -In some cases, you don't want special characters such as 中, spaces, or &, such as when transferring the downloaded filename to a Windows system or the filename through an 8bit-unsafe channel. In these cases, add the `--restrict-filenames` flag to get a shorter title: +In some cases, you don't want special characters such as 中, spaces, or &, such as when transferring the downloaded filename to a Windows system or the filename through an 8bit-unsafe channel. In these cases, add the `--restrict-filenames` flag to get a shorter title, e.g, `youtube-dl --get-filename -o '%(title)s.%(ext)s' BaW_jenozKc --restrict-filenames` #### Output template and Windows batch files