Hi All, Please review this patch.
Thanks, Abhijeet Kasurde
From bf4de8ebbc02549ba278fd85d8ed586d72d0acc4 Mon Sep 17 00:00:00 2001 From: Abhijeet Kasurde <[email protected]> Date: Mon, 2 May 2016 15:45:28 +0530 Subject: [PATCH] Fix added to ipa-compat-manage command line help Minor fix in ipa-compat-manage command help message. Signed-off-by: Abhijeet Kasurde <[email protected]> --- install/tools/ipa-compat-manage | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/tools/ipa-compat-manage b/install/tools/ipa-compat-manage index 29d1295f942fcd3024f283b00c8ac71f993e389b..2b13c4a68531c7b6261465399b59225db094aba2 100755 --- a/install/tools/ipa-compat-manage +++ b/install/tools/ipa-compat-manage @@ -2,7 +2,7 @@ # Authors: Rob Crittenden <[email protected]> # Authors: Simo Sorce <[email protected]> # -# Copyright (C) 2008 Red Hat +# Copyright (C) 2008-2016 Red Hat, Inc. # see file 'COPYING' for use and warranty information # # This program is free software; you can redistribute it and/or modify @@ -45,7 +45,7 @@ compat_dn = DN(('cn', 'Schema Compatibility'), ('cn', 'plugins'), ('cn', 'config nis_config_dn = DN(('cn', 'NIS Server'), ('cn', 'plugins'), ('cn', 'config')) def parse_options(): - usage = "%prog [options] <enable|disable>\n" + usage = "%prog [options] <enable|disable|status>\n" usage += "%prog [options]\n" parser = OptionParser(usage=usage, formatter=config.IPAFormatter()) @@ -88,7 +88,7 @@ def main(): options, args = parse_options() if len(args) != 1: - sys.exit("You must specify one action, either enable or disable") + sys.exit("You must specify one action: enable | disable | status") elif args[0] != "enable" and args[0] != "disable" and args[0] != "status": sys.exit("Unrecognized action [" + args[0] + "]") -- 2.4.11
-- Manage your subscription for the Freeipa-devel mailing list: https://www.redhat.com/mailman/listinfo/freeipa-devel Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code
