Skip to content

Commit

Permalink
Merge pull request cobbler#1683 from opoplawski/usage
Browse files Browse the repository at this point in the history
Add action name to cobbler action --help output
jmaas authored Sep 24, 2016
2 parents 5e18d27 + cf1ca27 commit d9c5f4e
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
@@ -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")

0 comments on commit d9c5f4e

Please sign in to comment.