Runs the program with --help and captures output for including into documentation