Skip to content

Commit 9d8b53a

Browse files
Added a message one can use simulaqron COMMAND -h to get more options for that command,
as otherwise one can - amongst other things... - never find network-config-file
1 parent 62a645a commit 9d8b53a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

simulaqron/simulaqron.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def run(self):
9696
time.sleep(0.1)
9797

9898

99-
@click.group(context_settings=CONTEXT_SETTINGS)
99+
@click.group(context_settings=CONTEXT_SETTINGS, epilog="Run 'simulaqron COMMAND --help' for more information on a command.")
100100
def cli():
101101
"""Command line interface for interacting with SimulaQron."""
102102
pass
@@ -121,8 +121,8 @@ def version():
121121
@cli.command()
122122
@click.option(
123123
"--network-config-file",
124-
help=f"Use the given network config file. Defaults to the file named " # noqa: E131
125-
f"'{DEFAULT_SIMULAQRON_NETWORK_FILENAME}' on the current directory.", # noqa: E131
124+
help=f"Path to network config file. If not specified, uses "
125+
f"./{DEFAULT_SIMULAQRON_NETWORK_FILENAME} or ~/.simulaqron/{DEFAULT_SIMULAQRON_NETWORK_FILENAME}",
126126
type=click.Path(exists=True, dir_okay=False, resolve_path=True, path_type=Path),
127127
default=None
128128
)

0 commit comments

Comments
 (0)