diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-11-26 16:11:46 -0500 |
---|---|---|
committer | Michael DeHaan <mdehaan@redhat.com> | 2007-11-26 16:11:46 -0500 |
commit | 9d7497cdced1fad271839c00804156e8a0794ac3 (patch) | |
tree | 4ebd77afcf41f07b926f4c976a5893bd87fcc784 /cobbler/modules/cli_misc.py | |
parent | 3739ae458fbfe5698307c46524041e6114ad28c5 (diff) | |
download | cobbler-9d7497cdced1fad271839c00804156e8a0794ac3.tar.gz cobbler-9d7497cdced1fad271839c00804156e8a0794ac3.tar.xz cobbler-9d7497cdced1fad271839c00804156e8a0794ac3.zip |
Work on CLI functions for manipulating objects, including adding the delete code back.
Diffstat (limited to 'cobbler/modules/cli_misc.py')
-rw-r--r-- | cobbler/modules/cli_misc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cobbler/modules/cli_misc.py b/cobbler/modules/cli_misc.py index b71a84ca..0ab25bbf 100644 --- a/cobbler/modules/cli_misc.py +++ b/cobbler/modules/cli_misc.py @@ -160,7 +160,7 @@ class ReportFunction(commands.CobblerFunction): return "report" def add_options(self, p, args): - p.add_option("--what", dest="what", default="all", help="distros/profiles/systems/repos (REQUIRED)") + p.add_option("--what", dest="what", default="all", help="distros/profiles/systems/repos") p.add_option("--name", dest="name", help="report on just this object") def __list_names2(self, collection, name): @@ -205,7 +205,7 @@ class ReportFunction(commands.CobblerFunction): if self.options.name: self.__list_names2(self.api.systems(),self.options.name) else: - self.__print_sorted(self.api.sytems()) + self.__print_sorted(self.api.systems()) if self.options.what in [ "all", "repos" ]: if self.options.name: |