summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Plugins/Packages
diff options
context:
space:
mode:
authorGordon Messmer <gordon@dragonsdawn.net>2016-04-21 13:59:37 -0700
committerGordon Messmer <gordon@dragonsdawn.net>2016-04-21 13:59:37 -0700
commit46a155cfec84dc36c34b107b9e51f99c0b684468 (patch)
tree1f685f55e8672e6bec891951caef0ab353749eec /src/lib/Bcfg2/Server/Plugins/Packages
parent02b062dd1bc4e62bddfbe225c74aff71f2339503 (diff)
downloadbcfg2-46a155cfec84dc36c34b107b9e51f99c0b684468.tar.gz
bcfg2-46a155cfec84dc36c34b107b9e51f99c0b684468.tar.bz2
bcfg2-46a155cfec84dc36c34b107b9e51f99c0b684468.zip
Remove PositionalArgument. It was incomplete and did not work as intended, requiring two positional args instead of one.
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins/Packages')
-rw-r--r--src/lib/Bcfg2/Server/Plugins/Packages/YumHelper.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/YumHelper.py b/src/lib/Bcfg2/Server/Plugins/Packages/YumHelper.py
index 777b0c324..ec253208f 100644
--- a/src/lib/Bcfg2/Server/Plugins/Packages/YumHelper.py
+++ b/src/lib/Bcfg2/Server/Plugins/Packages/YumHelper.py
@@ -376,10 +376,7 @@ class CLI(Bcfg2.Options.CommandRegistry):
""" The bcfg2-yum-helper CLI """
options = [
Bcfg2.Options.PathOption(
- "-c", "--yum-config", help="Yum config file"),
- Bcfg2.Options.PositionalArgument(
- "command", help="Yum helper command",
- choices=['clean', 'complete', 'get_groups'])]
+ "-c", "--yum-config", help="Yum config file")]
def __init__(self):
Bcfg2.Options.CommandRegistry.__init__(self)