From c0f8706d91bcd2a02887552e803a9a919db4cc20 Mon Sep 17 00:00:00 2001 From: Stephen Steneker Date: Fri, 27 Dec 2019 17:32:24 +1100 Subject: [PATCH] Reorder and group new flags after existing plot options --- mtools/mplotqueries/mplotqueries.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mtools/mplotqueries/mplotqueries.py b/mtools/mplotqueries/mplotqueries.py index ce1f6bfe..92f412b0 100644 --- a/mtools/mplotqueries/mplotqueries.py +++ b/mtools/mplotqueries/mplotqueries.py @@ -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(), @@ -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