Skip to content

Commit

Permalink
separate reboot_cause group from cli
Browse files Browse the repository at this point in the history
  • Loading branch information
sujinmkang committed Nov 3, 2020
1 parent 7182079 commit 1ac64c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion show/reboot_cause.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def read_reboot_cause_file():
result = json.load(f)
return result

@cli.group('reboot-cause', short_help='Show cause of most recent reboot', invoke_without_command=True)
@click.group(name='reboot-cause', short_help='Show cause of most recent reboot'', cls=clicommon.AliasedGroup, invoke_without_command=True)
@click.pass_context
def reboot_cause(ctx):
if ctx.invoked_subcommand is None:
Expand Down

0 comments on commit 1ac64c6

Please sign in to comment.