Skip to content
Snippets Groups Projects
Commit 237a4cc8 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

MAINT: fix doc

parent 438333c9
Branches
Tags
No related merge requests found
......@@ -100,7 +100,7 @@ def parse_args():
description=__doc__+"""
To view additional information about subcommands, execute:
linkahead <subcmd> -h""",
prog="linkahead",
prog="mysqllog",
formatter_class=argparse.RawDescriptionHelpFormatter
)
subparsers = parser.add_subparsers(
......@@ -109,22 +109,22 @@ To view additional information about subcommands, execute:
# mysql logging
start_parser = subparsers.add_parser(
'on',
help='Turns SQL logging on and off, stores logs.')
help='Turns SQL logging on.')
start_parser.set_defaults(func=start_logging)
stop_parser = subparsers.add_parser(
'off',
help='Turns SQL logging on and off, stores logs.')
help='Turns SQL logging off.')
stop_parser.set_defaults(func=stop_logging)
stop_parser = subparsers.add_parser(
'store',
help='Turns SQL logging on and off, stores logs.')
help='Prints SQL logs.')
stop_parser.set_defaults(func=store)
stop_off_parser = subparsers.add_parser(
'storeoff',
help='Turns SQL logging on and off, stores logs.')
help='Prints SQL logs and turns logging off.')
stop_off_parser.set_defaults(func=store_off)
return parser.parse_args()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment