Document run -k flag.
This commit is contained in:
parent
e8ef7e74de
commit
0e2fc65301
23
src/main.c
23
src/main.c
@ -485,17 +485,18 @@ static int _tf_command_run(const char* file, int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
tf_printf("\n%s run [options]\n\n", file);
|
tf_printf("\n%s run [options]\n\n", file);
|
||||||
tf_printf("options\n");
|
tf_printf("options\n");
|
||||||
tf_printf(" -s, --script script Script to run (default: core/core.js).\n");
|
tf_printf(" -s, --script script Script to run (default: core/core.js).\n");
|
||||||
tf_printf(" -b, --ssb-port port Port on which to run SSB (default: 8008, 0 disables).\n");
|
tf_printf(" -b, --ssb-port port Port on which to run SSB (default: 8008, 0 disables).\n");
|
||||||
tf_printf(" -p, --http-port port Port on which to run Tilde Friends web server (default: 12345).\n");
|
tf_printf(" -p, --http-port port Port on which to run Tilde Friends web server (default: 12345).\n");
|
||||||
tf_printf(" -q, --https-port port Port on which to run secure Tilde Friends web server (default: 12346).\n");
|
tf_printf(" -q, --https-port port Port on which to run secure Tilde Friends web server (default: 12346).\n");
|
||||||
tf_printf(" -d, --db-path path SQLite database path (default: %s).\n", k_db_path_default);
|
tf_printf(" -d, --db-path path SQLite database path (default: %s).\n", k_db_path_default);
|
||||||
tf_printf(" -n, --count count Number of instances to run.\n");
|
tf_printf(" -k, --ssb-network-key key SSB network key to use.\n");
|
||||||
tf_printf(" -a, --args args Arguments of the format key=value,foo=bar,verbose=true.\n");
|
tf_printf(" -n, --count count Number of instances to run.\n");
|
||||||
tf_printf(" -o, --one-proc Run everything in one process (unsafely!).\n");
|
tf_printf(" -a, --args args Arguments of the format key=value,foo=bar,verbose=true.\n");
|
||||||
tf_printf(" -z, --zip path Zip archive from which to load files.\n");
|
tf_printf(" -o, --one-proc Run everything in one process (unsafely!).\n");
|
||||||
tf_printf(" -v, --verbose Log raw messages.\n");
|
tf_printf(" -z, --zip path Zip archive from which to load files.\n");
|
||||||
tf_printf(" -h, --help Show this usage information.\n");
|
tf_printf(" -v, --verbose Log raw messages.\n");
|
||||||
|
tf_printf(" -h, --help Show this usage information.\n");
|
||||||
return EXIT_FAILURE;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user