Revision f0b1bafe lib/client/gnt_group.py
b/lib/client/gnt_group.py | ||
---|---|---|
1 | 1 |
# |
2 | 2 |
# |
3 | 3 |
|
4 |
# Copyright (C) 2010 Google Inc. |
|
4 |
# Copyright (C) 2010, 2011 Google Inc.
|
|
5 | 5 |
# |
6 | 6 |
# This program is free software; you can redistribute it and/or modify |
7 | 7 |
# it under the terms of the GNU General Public License as published by |
... | ... | |
101 | 101 |
|
102 | 102 |
return GenericList(constants.QR_GROUP, desired_fields, args, None, |
103 | 103 |
opts.separator, not opts.no_headers, |
104 |
format_override=fmtoverride) |
|
104 |
format_override=fmtoverride, verbose=opts.verbose)
|
|
105 | 105 |
|
106 | 106 |
|
107 | 107 |
def ListGroupFields(opts, args): |
... | ... | |
189 | 189 |
"<group_name> <node>...", "Assign nodes to a group"), |
190 | 190 |
"list": ( |
191 | 191 |
ListGroups, ARGS_MANY_GROUPS, |
192 |
[NOHDR_OPT, SEP_OPT, FIELDS_OPT], |
|
192 |
[NOHDR_OPT, SEP_OPT, FIELDS_OPT, VERBOSE_OPT],
|
|
193 | 193 |
"[<group_name>...]", |
194 | 194 |
"Lists the node groups in the cluster. The available fields can be shown" |
195 | 195 |
" using the \"list-fields\" command (see the man page for details)." |
Also available in: Unified diff