diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Bcfg2/Server/Admin/Client.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Client.py b/src/lib/Bcfg2/Server/Admin/Client.py index 4eb67a9de..325b7ae6e 100644 --- a/src/lib/Bcfg2/Server/Admin/Client.py +++ b/src/lib/Bcfg2/Server/Admin/Client.py @@ -6,6 +6,7 @@ from Bcfg2.Server.Plugin import MetadataConsistencyError def get_attribs(args): + """ Get a list of attributes to set on a client when adding/updating it """ attr_d = {} for i in args[2:]: attr, val = i.split('=', 1) @@ -19,7 +20,7 @@ def get_attribs(args): class Client(Bcfg2.Server.Admin.MetadataCore): """ Create, delete, or list client entries """ - __usage__ = "[options] [add|del|list] [attr=val]" + __usage__ = "[options] [add|del|update|list] [attr=val]" __plugin_whitelist__ = ["Metadata"] def __call__(self, args): |