Package: yt-dlp
Version: 2023.07.06-1

Dear Maintainer,

The options listed in the yt-dlp manual page don't work when pasted onto
a command line.  As an example, run "man yt-dlp", copy the first option,
and pass it as an argument to yt-dlp:
        $ yt-dlp ‐‐help
        [generic] Extracting URL: ‐‐help
        ERROR: [generic] None: '‐‐help' is not a valid URL. Set 
--default-search "ytsearch" (or run  yt-dlp "ytsearch:‐‐help" ) to search 
YouTube

This option actually needs to be "--help", which looks the same but uses
the ASCII hyphen-minus (U+002D).  The manual uses "U+2010 HYPHEN", which
is not accepted as an option prefix.

/usr/share/man/man1/yt-dlp.1.gz, when uncompressed, uses only ASCII; but
comparing against /usr/share/man/man1/whoami.1.gz suggests that a hyphen
needs to be escaped with a preceding backslash.  I don't see any similar
problem with "man whoami": the listed options work when pasted.

- Michael


-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.3.0-2-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_CA:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages yt-dlp depends on:
ii  python3                3.11.4-5
ii  python3-brotli         1.0.9-2+b6
ii  python3-certifi        2022.9.24-1
ii  python3-mutagen        1.46.0-2
ii  python3-pkg-resources  68.0.0-1
ii  python3-pycryptodome   3.11.0+dfsg1-4
ii  python3-websockets     10.4-1

Versions of packages yt-dlp recommends:
ii  ca-certificates  20230311
ii  curl             7.88.1-10
ii  ffmpeg           7:5.1.3-1
pn  python3-pyxattr  <none>
pn  rtmpdump         <none>
ii  wget             1.21.3-1+b2

Versions of packages yt-dlp suggests:
pn  libfribidi-bin | bidiv  <none>
ii  mplayer                 2:1.5+svn38423-2
ii  mpv                     0.35.1-4+b1
pn  phantomjs               <none>

-- no debconf information

Attachment: signature.asc
Description: PGP signature

Reply via email to