Skip to content

Commit

Permalink
Reorder and group new flags after existing plot options
Browse files Browse the repository at this point in the history
  • Loading branch information
stennie committed Dec 27, 2019
1 parent 278dca8 commit c0f8706
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mtools/mplotqueries/mplotqueries.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,6 @@ def __init__(self):
"all existing overlays. Use "
"'--overlay reset' to clear all "
"overlays."))
self.argparser.add_argument('--dns', action='store_true',
help='slow DNS Resolutions', default=False)
self.argparser.add_argument('--oplog', action='store_true',
help=('plot slow oplog application'))
self.argparser.add_argument('--type', action='store',
default='scatter',
choices=self.plot_types.keys(),
Expand Down Expand Up @@ -129,10 +125,14 @@ def __init__(self):
"displaying it in a window"))
self.argparser.add_argument('--checkpoints',
action='store_true', default=None,
help=("Display the slow WiredTiger checkpoints "))
help=("plot slow WiredTiger checkpoints"))
self.argparser.add_argument('--dns', action='store_true',
help='plot slow DNS resolution', default=False)
self.argparser.add_argument('--oplog', action='store_true',
help=('plot slow oplog application'))
self.argparser.add_argument('--storagestats',
action='store_true', default=False,
help=("Plot the storage statistics for insert "
help=("plot storage statistics for insert "
"and update operations"))

self.legend = None
Expand Down

0 comments on commit c0f8706

Please sign in to comment.