From 2a3984f865b916dbf79b70510bf3af5966879a2e Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 8 Sep 2015 18:52:00 +0200 Subject: Info: expirecache only for interactive shell The expirecache subcommand is only usefull from an interactive shell, so do not advertise it in the help from the commandline. --- src/lib/Bcfg2/Server/Info.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/Bcfg2/Server/Info.py b/src/lib/Bcfg2/Server/Info.py index fc4e10ea5..044936f14 100644 --- a/src/lib/Bcfg2/Server/Info.py +++ b/src/lib/Bcfg2/Server/Info.py @@ -370,6 +370,7 @@ class Automatch(InfoCmd): class ExpireCache(InfoCmd): """ Expire the metadata cache """ + only_interactive = True options = [ Bcfg2.Options.PositionalArgument( -- cgit v1.2.3-1-g7c22