help text mod

Browser choices are now formatted in the help text rather than listed
manually. Redundant line regarding output default removed from epilogue
This commit is contained in:
Ryan Farley 2017-09-24 12:02:44 -05:00
parent d85a15f0a2
commit 84b2b05254

View File

@ -70,11 +70,10 @@ def get_args():
"""Get the argparse parser."""
parser = argparse.ArgumentParser(
epilog="To import bookmarks from Chromium, Firefox or IE, "
"export them to HTML in your browsers bookmark manager. "
"By default, this script will output in a quickmarks format.")
"export them to HTML in your browsers bookmark manager. ")
parser.add_argument(
'browser',
help="Which browser? (chromium, firefox)",
help="Which browser? {%(choices)s}",
choices=browser_default_input_format.keys(),
metavar='browser')
parser.add_argument(