diff --git a/fillform.py b/fillform.py index 00b0be5..1ad602f 100755 --- a/fillform.py +++ b/fillform.py @@ -242,11 +242,20 @@ def readDataPaths(configs): def generalAdvice(): """Return a text that describes how to use the questions.""" - return("\n".join(["You will be asked questions.", + return("\n".join(["", + "You will be asked questions.", "Type '?' to get a more elaborative explanation" + - "for the question.", + " for the question.", "Type Ctrl + D to input nothing at this place.", - "Type Ctrl + C to end the input, creating the pdf."])) + "Type Ctrl + C to end the input, creating the pdf.", + "When given a choice, you can just hit Enter and " + + "get the default", + "or you type one of the options " + + "(the texts before '=') completely", + "or you type one of the descriptions " + + "(the texts after '=') partly." + + " Any string ignoring case that is the begin" + + " of exactly one description works"])) if __name__ == "__main__": @@ -255,7 +264,6 @@ if __name__ == "__main__": except argparse.ArgumentTypeError as e: print("Error while parsing the command line arguments:\n", e) else: - print("debug:", arguments) config = readformdata.listFields([], arguments["config"]) # make dict out of [[]] list + dict from config file data = readDataPaths(config)