diff options
| author | Michael DeHaan <mdehaan@redhat.com> | 2007-10-24 15:51:09 -0400 |
|---|---|---|
| committer | Michael DeHaan <mdehaan@redhat.com> | 2007-10-24 15:51:09 -0400 |
| commit | 054209f0c97becc17fa71aa323a7a3de08370cb0 (patch) | |
| tree | b250f0406a432b3ab2773285f845c84959fe3a68 | |
| parent | 1215af4b5430163ece944b2464f936e1c4278cfd (diff) | |
Inventory module now defaults to calling 'inventory' methods, not 'info', to represent that info() data may change frequently
and not be something we want to track.
Also fix the --no-git option.
| -rwxr-xr-x | func/overlord/inventory.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/func/overlord/inventory.py b/func/overlord/inventory.py index f03855b..e75aedb 100755 --- a/func/overlord/inventory.py +++ b/func/overlord/inventory.py @@ -46,8 +46,8 @@ class FuncInventory(object): help="run against specific servers, default: '*'") p.add_option("-m", "--methods", dest="methods", - default="info", - help="run inventory only on certain function names, default: 'info'") + default="inventory", + help="run inventory only on certain function names, default: 'inventory'") p.add_option("-M", "--modules", dest="modules", default="all", @@ -58,7 +58,7 @@ class FuncInventory(object): help="output results tree here, default: %s" % DEFAULT_TREE) p.add_option("-n", "--no-git", dest="nogit", - action="store_false", + action="store_true", help="disable useful change tracking features") (options, args) = p.parse_args(args) |
