image/cli: improve help for cmd_inspect()
This commit is contained in:
parent
1a695adff4
commit
eb13a7d093
1 changed files with 2 additions and 2 deletions
|
@ -453,10 +453,10 @@ def cmd_build(profile_name: Optional[str] = None,
|
||||||
|
|
||||||
|
|
||||||
@cmd_image.command(name='inspect')
|
@cmd_image.command(name='inspect')
|
||||||
@click.option('--shell', '-s', is_flag=True)
|
@click.option('--shell', '-s', help="Open a shell in the image's rootfs", is_flag=True)
|
||||||
@click.argument('profile', required=False)
|
@click.argument('profile', required=False)
|
||||||
def cmd_inspect(profile: Optional[str] = None, shell: bool = False):
|
def cmd_inspect(profile: Optional[str] = None, shell: bool = False):
|
||||||
"""Open a shell in a device image"""
|
"""Loop-mount the device image for inspection."""
|
||||||
config.enforce_profile_device_set()
|
config.enforce_profile_device_set()
|
||||||
config.enforce_profile_flavour_set()
|
config.enforce_profile_flavour_set()
|
||||||
enforce_wrap()
|
enforce_wrap()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue