summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorFabian Affolter <fabian@bernewireless.net>2010-12-27 16:52:32 +0100
committerSol Jerome <sol.jerome@gmail.com>2011-01-05 20:42:39 -0600
commit106827dc521482fa25b7ad67e6658b3ec0caa518 (patch)
treebdab049862e763db6f5e84de468b7b3c9c9bc28d /src/lib/Server
parent9e7a2039f75b6cf0659d1b3c9ad076502f61edef (diff)
downloadbcfg2-106827dc521482fa25b7ad67e6658b3ec0caa518.tar.gz
bcfg2-106827dc521482fa25b7ad67e6658b3ec0caa518.tar.bz2
bcfg2-106827dc521482fa25b7ad67e6658b3ec0caa518.zip
Longhelp added
(cherry picked from commit e64dd5fc75ac7510e2cb43d53b9ecd23ee9ed405)
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Admin/Snapshots.py15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/Server/Admin/Snapshots.py b/src/lib/Server/Admin/Snapshots.py
index 004de0ddb..d58873174 100644
--- a/src/lib/Server/Admin/Snapshots.py
+++ b/src/lib/Server/Admin/Snapshots.py
@@ -1,7 +1,7 @@
from datetime import date
import sys
-# prereq issues can be signaled with ImportError, so no try needed
+# Prereq issues can be signaled with ImportError, so no try needed
import sqlalchemy, sqlalchemy.orm
import Bcfg2.Server.Admin
import Bcfg2.Server.Snapshots
@@ -11,14 +11,15 @@ from Bcfg2.Server.Snapshots.model import Snapshot, Client, Metadata, Base, \
class Snapshots(Bcfg2.Server.Admin.Mode):
__shorthelp__ = "Interact with the Snapshots system"
- __longhelp__ = (__shorthelp__)
+ __longhelp__ = (__shorthelp__ + "\n\nbcfg2-admin snapshots init"
+ "\nbcfg2-admin query qtype\n")
__usage__ = ("bcfg2-admin snapshots [init|query qtype]")
- q_dispatch = {'client':Client,
- 'group':Group,
- 'metadata':Metadata,
- 'package':Package,
- 'snapshot':Snapshot}
+ q_dispatch = {'client': Client,
+ 'group': Group,
+ 'metadata': Metadata,
+ 'package': Package,
+ 'snapshot': Snapshot}
def __init__(self, configfile):
Bcfg2.Server.Admin.Mode.__init__(self, configfile)