From cf1ca277624c233fed6b651f24498be13b5fa819 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 11 Aug 2016 14:28:12 -0600 Subject: [PATCH] Add action name to cobbler action --help output --- cobbler/cli.py | 2 ++ 1 file changed, 2 insertions(+) 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")