From bc2e03d1a6cb1411a2eee8218cce53f951100eb1 Mon Sep 17 00:00:00 2001 From: Alistair Coles Date: Tue, 5 Dec 2017 13:45:18 -0800 Subject: [PATCH] Add --swift-versions option to swift-recon man page Related-Change: I3c2e569f0c44168333251bb58bab4b5582e15a45 Change-Id: I9776c0919164e48ac445eacf7d897a23ef8e4572 --- doc/manpages/swift-recon.1 | 4 +++- swift/cli/recon.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/manpages/swift-recon.1 b/doc/manpages/swift-recon.1 index 56377215a2..a767d1eb82 100644 --- a/doc/manpages/swift-recon.1 +++ b/doc/manpages/swift-recon.1 @@ -82,10 +82,12 @@ Get cluster socket usage stats Get drive audit error stats .IP "\fB-T, --time\fR" Check time synchronization +.IP "\fB--swift-versions\fR" +Check swift version .IP "\fB--all\fR" Perform all checks. Equivalent to \-arudlqT \-\-md5 \-\-sockstat \-\-auditor \-\-updater \-\-expirer -\-\-driveaudit \-\-validate\-servers +\-\-driveaudit \-\-validate\-servers \-\-swift-versions .IP "\fB--region=REGION\fR" Only query servers in specified region .IP "\fB-z ZONE, --zone=ZONE\fR" diff --git a/swift/cli/recon.py b/swift/cli/recon.py index 73486f6de4..910f36789a 100644 --- a/swift/cli/recon.py +++ b/swift/cli/recon.py @@ -1027,7 +1027,7 @@ class SwiftRecon(object): args.add_option('--all', action="store_true", help="Perform all checks. Equal to \t\t\t-arudlqT " "--md5 --sockstat --auditor --updater --expirer " - "--driveaudit --validate-servers --swift-versons") + "--driveaudit --validate-servers --swift-versions") args.add_option('--region', type="int", help="Only query servers in specified region") args.add_option('--zone', '-z', type="int",