From 01ef7885df38b8ea92c3a0c4cd562ff45bb383c8 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sun, 19 Nov 2017 00:00:15 +0100 Subject: make: improved runserver docs --- src/blogc-make/main.c | 3 ++- src/blogc-make/rules.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/blogc-make/main.c b/src/blogc-make/main.c index 8c73e13..96a145b 100644 --- a/src/blogc-make/main.c +++ b/src/blogc-make/main.c @@ -30,7 +30,8 @@ print_help(void) "\n" "positional arguments:\n" " RULE build rule(s) to run. can include comma-separated\n" - " key-value pairs of rule settings (default: all)\n" + " key-value pairs of rule arguments in the format\n" + " RULE:arg1=value1,arg2=value2,... (default: all)\n" "\n" "optional arguments:\n" " -h show this help message and exit\n" diff --git a/src/blogc-make/rules.c b/src/blogc-make/rules.c index c0893fa..2633d04 100644 --- a/src/blogc-make/rules.c +++ b/src/blogc-make/rules.c @@ -648,7 +648,8 @@ const bm_rule_t rules[] = { }, { .name = "runserver", - .help = "run blogc-runserver pointing to output directory, if available", + .help = "run blogc-runserver pointing to output directory, if available\n" + " arguments: host (127.0.0.1), port (8080) and threads (20)", .outputlist_func = NULL, .exec_func = runserver_exec, .generate_files = false, -- cgit v1.2.3-18-g5258