From 467b2c4e0d327eb265bb55674df20d3443b375e1 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Thu, 6 Oct 2022 07:18:29 -0600 Subject: [PATCH] Make all options use dash word delimiter --- README.md | 4 ++-- cli.py | 2 +- first_time_setup.sh | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ead98ee4..df9bc966 100644 --- a/README.md +++ b/README.md @@ -119,13 +119,13 @@ Clones the set of git repositories necessary to build a system. Note: the use of `ssh-agent` is recommended in order to avoid entering your ssh key passphrase for each repository. ``` $ laconic-so --verbose setup-repositories #this will default to ~/cerc or CERC_REPO_BASE_DIR from an env file -#$ ./laconic-so --verbose --local_stack setup-repositories #this will use cwd ../ as dev_root_path +#$ ./laconic-so --verbose --local-stack setup-repositories #this will use cwd ../ as dev_root_path ``` ### Build Containers Builds the set of docker container images required to run a system. It takes around 10 minutes to build all the containers from cold. ``` $ laconic-so --verbose build-containers #this will default to ~/cerc or CERC_REPO_BASE_DIR from an env file -#$ ./laconic-so --verbose --local_stack build-containers #this will use cwd ../ as dev_root_path +#$ ./laconic-so --verbose --local-stack build-containers #this will use cwd ../ as dev_root_path ``` ### Deploy System diff --git a/cli.py b/cli.py index ab1d21f8..87de406d 100644 --- a/cli.py +++ b/cli.py @@ -34,7 +34,7 @@ class Options(object): @click.option('--quiet', is_flag=True, default=False) @click.option('--verbose', is_flag=True, default=False) @click.option('--dry-run', is_flag=True, default=False) -@click.option('--local_stack', is_flag=True, default=False) +@click.option('--local-stack', is_flag=True, default=False) # See: https://click.palletsprojects.com/en/8.1.x/complex/#building-a-git-clone @click.pass_context def cli(ctx, quiet, verbose, dry_run, local_stack): diff --git a/first_time_setup.sh b/first_time_setup.sh index 2f7d46ab..87fdd505 100755 --- a/first_time_setup.sh +++ b/first_time_setup.sh @@ -5,4 +5,4 @@ source ./venv/bin/activate pip install --editable . pip install shiv shiv -c laconic-so -o laconic-so . -./laconic-so --verbose --local_stack setup-repositories +./laconic-so --verbose --local-stack setup-repositories