Revision 6b7d5878 lib/cli.py

b/lib/cli.py
80 80
  "MC_OPT",
81 81
  "NET_OPT",
82 82
  "NEW_CLUSTER_CERT_OPT",
83
  "NEW_HMAC_KEY_OPT",
83
  "NEW_CONFD_HMAC_KEY_OPT",
84 84
  "NEW_RAPI_CERT_OPT",
85 85
  "NEW_SECONDARY_OPT",
86 86
  "NIC_PARAMS_OPT",
......
878 878
                               help=("Generate a new self-signed RAPI"
879 879
                                     " certificate"))
880 880

  
881
NEW_HMAC_KEY_OPT = cli_option("--new-hmac-key", dest="new_hmac_key",
882
                              default=False, action="store_true",
883
                              help="Create a new HMAC key")
881
NEW_CONFD_HMAC_KEY_OPT = cli_option("--new-confd-hmac-key",
882
                                    dest="new_confd_hmac_key",
883
                                    default=False, action="store_true",
884
                                    help=("Create a new HMAC key for %s" %
885
                                          constants.CONFD))
884 886

  
885 887

  
886 888
def _ParseArgs(argv, commands, aliases):

Also available in: Unified diff