readable help

This commit is contained in:
Chaigidel 2020-02-24 18:52:39 +08:00
parent bb8f1cee06
commit ce41af1468
2 changed files with 3 additions and 1 deletions

View File

@ -97,6 +97,8 @@ optional arguments:
Duration of still comment display [default: 5]
-fl FILTER, --filter FILTER
Regular expression to filter comments
-flf FILTER_FILE, --filter-file FILTER_FILE
Regular expressions from json file (contain a regex list) to filter comments
-p HEIGHT, --protect HEIGHT
Reserve blank on the bottom of the stage
-r, --reduce Reduce the amount of comments if stage is full

View File

@ -809,7 +809,7 @@ def main():
parser.add_argument('-dm', '--duration-marquee', metavar=_('SECONDS'), help=_('Duration of scrolling comment display [default: %s]') % 5, type=float, default=5.0)
parser.add_argument('-ds', '--duration-still', metavar=_('SECONDS'), help=_('Duration of still comment display [default: %s]') % 5, type=float, default=5.0)
parser.add_argument('-fl', '--filter', help=_('Regular expression to filter comments'))
parser.add_argument('-flf', '--filter-file', help=_('Regular expressions from json file to filter comments'))
parser.add_argument('-flf', '--filter-file', help=_('Regular expressions from json file (contain a regex list) to filter comments'))
parser.add_argument('-p', '--protect', metavar=_('HEIGHT'), help=_('Reserve blank on the bottom of the stage'), type=int, default=0)
parser.add_argument('-r', '--reduce', action='store_true', help=_('Reduce the amount of comments if stage is full'))
parser.add_argument('file', metavar=_('FILE'), nargs='+', help=_('Comment file to be processed'))