diff --git a/cobbler/cli.py b/cobbler/cli.py index b454886f30..c9026959f0 100755 --- a/cobbler/cli.py +++ b/cobbler/cli.py @@ -517,6 +517,8 @@ def direct_command(self, action_name): """ task_id = -1 # if assigned, we must tail the logfile + self.parser.set_usage('Usage: %%prog %s [options]' % (action_name)) + if action_name == "buildiso": defaultiso = os.path.join(os.getcwd(), "generated.iso")