Improve help texts

This commit is contained in:
Benbb96 2024-10-19 16:50:17 +02:00
parent 0a1e73918d
commit 2c24fa9cae
No known key found for this signature in database
3 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ class Command(BaseCommand):
nargs='*', nargs='*',
choices=list(day_names.keys()), choices=list(day_names.keys()),
required=True, required=True,
help='Days of week (monday, tuesday, etc)' help='Days of week (monday, tuesday, etc). Enter the days as space separated list.'
) )
parser.add_argument( parser.add_argument(
'-o', '-o',
@ -46,7 +46,7 @@ class Command(BaseCommand):
'--queues', '--queues',
nargs='*', nargs='*',
choices=list(Queue.objects.values_list('slug', flat=True)), choices=list(Queue.objects.values_list('slug', flat=True)),
help='Queues to include (default: all). Use queue slugs' help='Queues to include (default: all). Enter the queues slug as space separated list.'
) )
parser.add_argument( parser.add_argument(
'-x', '-x',

View File

@ -29,7 +29,7 @@ class Command(BaseCommand):
'--queues', '--queues',
nargs='*', nargs='*',
choices=list(Queue.objects.values_list('slug', flat=True)), choices=list(Queue.objects.values_list('slug', flat=True)),
help='Queues to include (default: all). Use queue slugs' help='Queues to include (default: all). Enter the queues slug as space separated list.'
) )
parser.add_argument( parser.add_argument(
'-x', '-x',

View File

@ -24,7 +24,7 @@ class Command(BaseCommand):
'--queues', '--queues',
nargs='*', nargs='*',
choices=list(Queue.objects.values_list('slug', flat=True)), choices=list(Queue.objects.values_list('slug', flat=True)),
help='Queues to include (default: all). Use queue slugs' help='Queues to include (default: all). Enter the queues slug as space separated list.'
) )
parser.add_argument( parser.add_argument(
'-x', '-x',