Add help strings to all click CMDs

This commit is contained in:
InsanePrawn 2022-02-13 19:57:04 +01:00
parent feadf6f1e8
commit 3ed8d379dd
10 changed files with 31 additions and 4 deletions

View file

@ -550,6 +550,7 @@ class Chroot:
@click.argument('type', required=False, default='build')
@click.argument('arch', required=False, default=None)
def cmd_chroot(type: str = 'build', arch: str = None, enable_crossdirect=True):
"""Open a shell in a chroot"""
chroot_path = ''
if type not in ['base', 'build', 'rootfs']:
raise Exception('Unknown chroot type: ' + type)