From: Dan Mick Date: Wed, 26 Jun 2013 22:31:25 +0000 (-0700) Subject: MonCommands.h: auth add doesn't require caps (it can use -i ) X-Git-Tag: v0.66~22 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bfed2d60a59bf69863989ca3bc108079c1d37f4f;p=ceph.git MonCommands.h: auth add doesn't require caps (it can use -i ) This was a regression from the old behavior introduced by the CLI rewrite. Fixes: #5467 Signed-off-by: Dan Mick Reviewed-by: Josh Durgin --- diff --git a/src/mon/MonCommands.h b/src/mon/MonCommands.h index e1ebf31df6c..0f5f4096f12 100644 --- a/src/mon/MonCommands.h +++ b/src/mon/MonCommands.h @@ -140,7 +140,7 @@ COMMAND("auth list", "list authentication state") COMMAND("auth import", "auth import: read keyring file from input") COMMAND("auth add " \ "name=entity,type=CephString " \ - "name=caps,type=CephString,n=N", \ + "name=caps,type=CephString,n=N,req=false", \ "add auth info for from input file, or random key if no input given, and/or any caps specified in the command") COMMAND("auth get-or-create-key " \ "name=entity,type=CephString " \