From 8245c7d0fc176f110859f4ea544d09026c6c8ccd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 5 Nov 2013 12:13:30 +0100 Subject: Adding --distribution to lb-init. --- components/init | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'components/init') diff --git a/components/init b/components/init index c1dba21dc..e0c8458d1 100755 --- a/components/init +++ b/components/init @@ -28,21 +28,25 @@ def main(): prog = 'lb init', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The init command creates an empty configuration tree or reinitialize an existing one.''', + The init command creates an empty configuration directory or reinitialize an existing one.''', epilog = 'See \'man lb-init\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) - 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') + 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') - arguments.add_argument('--project', help='set project defaults') + arguments.add_argument('--distribution', help='set default distribution') + arguments.add_argument('--project', help='set project defaults') args = arguments.parse_args() # --verbose verbose = args.verbose + # --distribution + distribution = args.distribution + # --project project = args.project -- cgit v1.2.3