mirror of
https://gitlab.com/kupfer/kupferbootstrap.git
synced 2025-02-22 13:15:44 -05:00
image/cli: improve help for cmd_inspect()
This commit is contained in:
parent
e758e3c343
commit
d2fe124d6f
1 changed files with 2 additions and 2 deletions
|
@ -452,10 +452,10 @@ def cmd_build(profile_name: Optional[str] = None,
|
|||
|
||||
|
||||
@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)
|
||||
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_flavour_set()
|
||||
enforce_wrap()
|
||||
|
|
Loading…
Add table
Reference in a new issue