Add a bunch of documentation comments
This commit is contained in:
18
render.py
18
render.py
@@ -50,15 +50,15 @@ if __name__ == "__main__":
|
||||
load_dotenv()
|
||||
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("template")
|
||||
parser.add_argument("--hdf_variant", help="If specified, the variant to upload the rendered template to on hardfought.org")
|
||||
parser.add_argument("--nudist", "-n", action="store_true")
|
||||
parser.add_argument("--pauper", "-p", action="store_true")
|
||||
parser.add_argument("--nobones", action="store_true")
|
||||
parser.add_argument("--nopet", action="store_true")
|
||||
parser.add_argument("--hide-comments", action="store_false", dest="comments")
|
||||
parser.add_argument("--curses", action="store_const", const="curses", dest="windowtype")
|
||||
parser.add_argument("--tty", action="store_const", const="tty", dest="windowtype")
|
||||
parser.add_argument("template", help="template file to render")
|
||||
parser.add_argument("--hdf_variant", help="if specified, the variant to upload the rendered template to on hardfought.org")
|
||||
parser.add_argument("--nudist", "-n", action="store_true", help="enable nudist conduct in rcfile")
|
||||
parser.add_argument("--pauper", "-p", action="store_true", help="enable pauper conduct in rcfile")
|
||||
parser.add_argument("--nobones", action="store_true", help="turn off bones in rcfile")
|
||||
parser.add_argument("--nopet", action="store_true", help="turn off starting pet in rcfile")
|
||||
parser.add_argument("--hide-comments", action="store_false", dest="comments", help="strip out explanatory comments in output to reduce file size")
|
||||
parser.add_argument("--curses", action="store_const", const="curses", dest="windowtype", help="set windowtype to curses and set appropriate options")
|
||||
parser.add_argument("--tty", action="store_const", const="tty", dest="windowtype", help="set windowtype to tty and set appropriate options")
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user