Skip to content

Commit

Permalink
More informative help text
Browse files Browse the repository at this point in the history
  • Loading branch information
MADindustries committed Sep 3, 2018
1 parent 8c44d86 commit e304250
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions WhatManager2/management/commands/import_wm_media_folder.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ def safe_makedirs(p):

class Command(BaseCommand):
args = '<wm_media>'
help = u'Scans previous WM media folder and imports available torrents + data'

help = u'Scans WM media folder from a previous installation and imports available torrents + data.'\
u' Sorts and groups errored torrents into folders for easy post-import fixing/debugging'

def __init__(self):
super(Command, self).__init__()
self.pseudo_request = lambda: None
Expand Down Expand Up @@ -117,7 +118,9 @@ def move_files(self):
def handle(self, *args, **options):
if not self.check_args(args):
print u'Pass the directory containing your torrent directories from a previous WM' \
u' install. Subfolders of this directory should be named by torrent ID.'
u' install. Subfolders of this directory should be named by torrent ID. After' \
u' import, all errored torrent/data sets will be organized into subfolders for' \
u' manual inspection/import.'
return

self.wm_media = wm_unicode(args[0])
Expand Down

0 comments on commit e304250

Please sign in to comment.