diff --git a/README.md b/README.md index e0586029e..7918d7f82 100644 --- a/README.md +++ b/README.md @@ -86,9 +86,12 @@ To generate thumbnails for new logos and tag photos, install ImageMagick and run #### Developers * `--no-save`: Do not store retrieved information in local database, forcing re-fetch. * `--level`: Change log level to `silly`, `verbose`, `info`, `warn` or `error`. -* `--flush-network`: Delete all scenes and movies from all network channels -* `--flush-channel`: Delete all scenes and movies from a channel -* `--flush-batch`: Delete all scenes and movies from a batch ID +* `--delete-scenes`: Delete scenes and assets by ID. +* `--delete-movies`: Delete movies and assets by ID. +* `--flush-network`: Delete all scenes and movies with assets from all network channels +* `--flush-channel`: Delete all scenes and movies with assets from a channel +* `--flush-batch`: Delete all scenes and movies with assets from a batch ID +* `--flush-media`: Delete temporary media directory and all unassociated media entries and files ### API A GraphQL API is available at `/graphql`, and a REST API is available at the following `GET` endpoints: diff --git a/src/app.js b/src/app.js index 9464b5e65..87715eb82 100644 --- a/src/app.js +++ b/src/app.js @@ -41,10 +41,6 @@ async function init() { await deleteMovies(argv.deleteMovies); } - if (argv.delete) { - await deleteScenes(argv.delete); - } - if (argv.flushOrphanedMedia) { await flushOrphanedMedia(); }