summaryrefslogtreecommitdiff
path: root/components/init
diff options
context:
space:
mode:
Diffstat (limited to 'components/init')
-rwxr-xr-xcomponents/init12
1 files changed, 8 insertions, 4 deletions
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