From eb13a7d093403b8e69b9d0fa47c861b5ea3338de Mon Sep 17 00:00:00 2001 From: InsanePrawn Date: Mon, 9 Jan 2023 03:27:50 +0100 Subject: [PATCH] image/cli: improve help for cmd_inspect() --- image/image.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/image/image.py b/image/image.py index b8834ed..bdc3200 100644 --- a/image/image.py +++ b/image/image.py @@ -453,10 +453,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()