A feature-rich command-line audio/video downloader
Add `--no-update`
pukkandand32f30ac485e
diff --git a/README.md b/README.mdindex af613ff7e4..97079f6461 100644--- a/README.md+++ b/README.md@@ -325,6 +325,7 @@ You can also fork the project on github and run your fork's [build workflow](.gi-h, --help Print this help text and exit--version Print program version and exit-U, --update Update this program to latest version+ --no-update Do not update (default)-i, --ignore-errors Ignore download and postprocessing errors.The download will be considered successfuleven if the postprocessing failsdiff --git a/yt_dlp/options.py b/yt_dlp/options.pyindex 9e36e1c527..91e7c1f827 100644--- a/yt_dlp/options.py+++ b/yt_dlp/options.py@@ -312,6 +312,10 @@ def create_parser():'-U', '--update',action='store_true', dest='update_self',help='Update this program to latest version')+ general.add_option(+ '--no-update',+ action='store_false', dest='update_self',+ help='Do not update (default)')general.add_option('-i', '--ignore-errors',action='store_true', dest='ignoreerrors',