From a95c0c599d8f68743367c4543a75796e23de5aa6 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 11 Feb 2020 23:50:30 +0100 Subject: Update usage output --- automedia.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/automedia.py b/automedia.py index e319f47..7f0dbab 100755 --- a/automedia.py +++ b/automedia.py @@ -643,17 +643,18 @@ def usage(): print("usage: automedia.py COMMAND") print("") print("COMMANDS") - print(" add\tAdd media to track") - print(" sync\tStart syncing tracked media") + print(" add Add media to track") + print(" sync Start syncing tracked media") + print(" downloaded List downloaded media") exit(1) def usage_add(): print("usage: automedia.py add [--name name] [--start-after start_after]") print("OPTIONS") - print(" type\t\tThe type should be either rss or html") - print(" url\t\tThe url to the rss or html") - print(" --name\t\tThe display name to be used for the media. Optional for rss, in which case the name will be retries from rss TITLE, required for html") - print(" --start-after\t\tThe sync should start downloading media after this item (Optional, default is to start from the first item)") + print(" type The type should be either rss or html") + print(" url The url to the rss or html") + print(" --name The display name to be used for the media. Optional for rss, in which case the name will be retries from rss TITLE, required for html") + print(" --start-after The sync should start downloading media after this item (Optional, default is to start from the first item)") print("EXAMPLES") print(" automedia.py add rss 'https://nyaa.si/?page=rss&q=Tejina-senpai+1080p&c=0_0&f=0&u=HorribleSubs'") print(" automedia.py add html 'https://manganelo.com/manga/read_naruto_manga_online_free3' --name Naruto") @@ -662,7 +663,7 @@ def usage_add(): def usage_sync(): print("usage: automedia.py sync ") print("OPTIONS") - print(" download_dir\tThe path where media should be downloaded to") + print(" download_dir The path where media should be downloaded to") print("EXAMPLES") print(" automedia.py sync /home/adam/Downloads/automedia") exit(1) -- cgit v1.2.3