summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander.sulfrian@fu-berlin.de>2015-09-08 18:52:00 +0200
committerSol Jerome <sol.jerome@gmail.com>2015-10-13 13:11:02 -0500
commit2a3984f865b916dbf79b70510bf3af5966879a2e (patch)
tree8eb61a27d8a7b9de661ff51c443fd7ffc484146a
parent6ac78b176d4a72d3567168a6d6e80bbc6e1fa235 (diff)
downloadbcfg2-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.
-rw-r--r--src/lib/Bcfg2/Server/Info.py1
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(