@@ -710,25 +710,24 @@ def output_filename(input_filename):
710
710
711
711
parser = argparse .ArgumentParser (
712
712
description = 'Manipulate Secondlife .anim files' ,
713
- fromfile_prefix_chars = '@' , formatter_class = argparse .RawDescriptionHelpFormatter ,
714
- epilog = """
715
- output file pattern flags:
716
- %n: input file name
717
- %p: input file directory
718
- %%: literal '%'
719
- file extensions will be appended automatically
720
- """ )
713
+ fromfile_prefix_chars = '@' , formatter_class = argparse .RawTextHelpFormatter )
721
714
722
715
parser .add_argument ('files' , nargs = '+' , help = 'anim files to dump or process' )
723
716
parser .add_argument ('--verbose' , '-v' , action = 'count' , default = 0 )
724
717
parser .add_argument ('--no-sort' , '-U' , action = 'store_false' , dest = 'sort' ,
725
718
help = "when printing joints with -v, show in file order rather than abc order" )
726
719
parser .add_argument ('--markdown' , '--md' , action = 'store_true' , help = "output in markdown table" )
727
720
parser .add_argument ('--outputfile-pattern' , '-o' ,
728
- help = 'Output anim file path/name, see \' output file pattern flags\' below for details' )
721
+ help = """Output anim file path/name, with template substitution:
722
+ %%n: input file name
723
+ %%p: input file directory
724
+ %%%%: literal '%%'
725
+ File extension will be appended automatically""" )
729
726
parser .add_argument ('--time-scale' , '--tscale' , '--speed' , '-s' , action = AppendObjectAction ,
730
727
dest = 'actions' , func = SpeedAnimation , nargs = 1 , type = float ,
731
- help = "Adjust duration by the given factor eg 2.0 for half-speed/double duration, or 0.5 for double speed/half duration" )
728
+ help = """Adjust duration by the given factor eg:
729
+ 2.0 for half-speed/double duration, or
730
+ 0.5 for double speed/half duration""" )
732
731
parser .add_argument ('--frame-rate' , '--fps' , action = AppendObjectAction ,
733
732
dest = 'actions' , func = SetFrameRate , nargs = 1 , type = int )
734
733
parser .add_argument ('--offset' , '--adjust' , action = AppendObjectAction ,
0 commit comments