Skip to content

Commit

Permalink
Add action name to cobbler action --help output
Browse files Browse the repository at this point in the history
  • Loading branch information
opoplawski committed Aug 11, 2016
1 parent 84ffb0d commit cf1ca27
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cobbler/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit cf1ca27

Please sign in to comment.