diff options
Diffstat (limited to 'components/chroot_hooks')
-rwxr-xr-x | components/chroot_hooks | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/chroot_hooks b/components/chroot_hooks index ce2287a57..d27d7ecc7 100755 --- a/components/chroot_hooks +++ b/components/chroot_hooks @@ -30,11 +30,11 @@ def main(): description = '''live-build contains the components to build a live system from a configuration directory. The chroot_hooks command executes hooks after the chroot stage.''', epilog = 'See \'man lb_chroot_hooks\' for more information.', - version = 'live-build 4', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) - arguments.add_argument('--verbose', help='set verbose option', action='store_true') + arguments.add_argument('--version', help='show program\'s version number and exit', action='version', version='live-build 4') + arguments.add_argument('--verbose', help='set verbose option', action='store_true') args = arguments.parse_args() |