Procházet zdrojové kódy

Fix usage notes from URLs to lines on stdin

master
JustAnotherArchivist před 2 roky
rodič
revize
b27a428787
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. +2
    -2
      youtube-extract

+ 2
- 2
youtube-extract Zobrazit soubor

@@ -8,10 +8,10 @@ import sys
if any(x in sys.argv for x in ['--help', '-h', '-?', 'help']):
print('Usage: youtube-extract [massage|removenonyt]', file = sys.stderr)
print(file = sys.stderr)
print("In 'massage' mode (default), extracts any references to YouTube videos, channels, and playlists from the URLs on stdin and prints them on stdout.", file = sys.stderr)
print("In 'massage' mode (default), extracts any references to YouTube videos, channels, and playlists from the lines on stdin and prints them on stdout.", file = sys.stderr)
print('Lines that don\'t seem to contain references to such YouTube things are printed on stderr.', file = sys.stderr)
print(file = sys.stderr)
print("In 'removenonyt' mode, prints all URLs that look like they are or contain YouTube URLs on stdout.", file = sys.stderr)
print("In 'removenonyt' mode, prints all lines that look like they are or contain YouTube URLs on stdout.", file = sys.stderr)
sys.exit(1)




Načítá se…
Zrušit
Uložit