From 8a8506e8e1c03fd48289102753b66b4843c726f1 Mon Sep 17 00:00:00 2001 From: Marc Muehlfeld Date: Wed, 17 Oct 2018 09:38:40 +0200 Subject: [PATCH] Ticket 49980 - Fixed incorrect dsconf argument descriptions Description: Some of the dsconf utilities' --help descriptions were incorrect. This update fixes these descriptions. https://pagure.io/389-ds-base/issue/49980 Reviewed by: --- src/lib389/lib389/cli_conf/replication.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib389/lib389/cli_conf/replication.py b/src/lib389/lib389/cli_conf/replication.py index deddcf2b0..38b2f1354 100644 --- a/src/lib389/lib389/cli_conf/replication.py +++ b/src/lib389/lib389/cli_conf/replication.py @@ -812,7 +812,7 @@ def create_parser(subparsers): repl_delete_cl = repl_subcommands.add_parser('delete-changelog', help='Delete the replication changelog. This will invalidate any existing replication agreements') repl_delete_cl.set_defaults(func=delete_cl) - repl_set_cl = repl_subcommands.add_parser('set-changelog', help='Delete the replication changelog. This will invalidate any existing replication agreements') + repl_set_cl = repl_subcommands.add_parser('set-changelog', help='Set replication changelog attributes.') repl_set_cl.set_defaults(func=set_cl) repl_set_cl.add_argument('--cl-dir', help="The replication changelog location on the filesystem") repl_set_cl.add_argument('--max-entries', help="The maximum number of entries to get in the replication changelog") @@ -822,7 +822,7 @@ def create_parser(subparsers): repl_set_cl.add_argument('--encrypt-algo', help="The encryption algorithm used to encrypt the replication changelog content. Requires that TLS is enabled in the server") repl_set_cl.add_argument('--encrypt-key', help="The symmetric key for the replication changelog encryption") - repl_get_cl = repl_subcommands.add_parser('get-changelog', help='Delete the replication changelog. This will invalidate any existing replication agreements') + repl_get_cl = repl_subcommands.add_parser('get-changelog', help='Display replication changelog attributes.') repl_get_cl.set_defaults(func=get_cl) repl_set_parser = repl_subcommands.add_parser('set', help='Set an attribute in the replication configuration') @@ -1092,7 +1092,7 @@ def create_parser(subparsers): # Replication Tasks (cleanalruv) ############################################ - tasks_parser = subparsers.add_parser('repl-tasks', help='Manage local (user/subtree) password policies') + tasks_parser = subparsers.add_parser('repl-tasks', help='Manage replication tasks') task_subcommands = tasks_parser.add_subparsers(help='Replication Tasks') # Cleanallruv @@ -1107,7 +1107,7 @@ def create_parser(subparsers): task_cleanallruv_list.set_defaults(func=list_cleanallruv) # Abort cleanallruv - task_abort_cleanallruv = task_subcommands.add_parser('abort-cleanallruv', help='Set an attribute in the replication winsync agreement') + task_abort_cleanallruv = task_subcommands.add_parser('abort-cleanallruv', help='Abort cleanallruv tasks') task_abort_cleanallruv.set_defaults(func=abort_cleanallruv) task_abort_cleanallruv.add_argument('--suffix', required=True, help="The Directory Server suffix") task_abort_cleanallruv.add_argument('--replica-id', required=True, help="The replica ID of the cleaning task to abort") -- 2.17.2