aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xautomedia.py15
1 files 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 <type> <url> [--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 <download_dir>")
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)