From bfed2d60a59bf69863989ca3bc108079c1d37f4f Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Wed, 26 Jun 2013 15:31:25 -0700 Subject: [PATCH] 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 --- src/mon/MonCommands.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " \