diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2015-09-08 18:52:00 +0200 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2015-10-13 13:11:02 -0500 |
commit | 2a3984f865b916dbf79b70510bf3af5966879a2e (patch) | |
tree | 8eb61a27d8a7b9de661ff51c443fd7ffc484146a /src/lib/Bcfg2/Server | |
parent | 6ac78b176d4a72d3567168a6d6e80bbc6e1fa235 (diff) | |
download | bcfg2-2a3984f865b916dbf79b70510bf3af5966879a2e.tar.gz bcfg2-2a3984f865b916dbf79b70510bf3af5966879a2e.tar.bz2 bcfg2-2a3984f865b916dbf79b70510bf3af5966879a2e.zip |
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.
Diffstat (limited to 'src/lib/Bcfg2/Server')
-rw-r--r-- | src/lib/Bcfg2/Server/Info.py | 1 |
1 files changed, 1 insertions, 0 deletions
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( |