From 46a155cfec84dc36c34b107b9e51f99c0b684468 Mon Sep 17 00:00:00 2001 From: Gordon Messmer Date: Thu, 21 Apr 2016 13:59:37 -0700 Subject: Remove PositionalArgument. It was incomplete and did not work as intended, requiring two positional args instead of one. --- src/lib/Bcfg2/Server/Plugins/Packages/YumHelper.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/lib/Bcfg2/Server/Plugins/Packages') 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) -- cgit v1.2.3-1-g7c22