From d790f304e54cd855f5887d93bf8b3b5c98da0b22 Mon Sep 17 00:00:00 2001 From: "Zamrony P. Juhara" Date: Mon, 22 Nov 2021 08:01:42 +0800 Subject: [PATCH] improve help for project http --- src/Tasks/Includes/Project/Fpweb/task.registrations.inc | 2 +- src/Tasks/Includes/Project/Mhd/task.registrations.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tasks/Includes/Project/Fpweb/task.registrations.inc b/src/Tasks/Includes/Project/Fpweb/task.registrations.inc index ed74672..2d536fc 100644 --- a/src/Tasks/Includes/Project/Fpweb/task.registrations.inc +++ b/src/Tasks/Includes/Project/Fpweb/task.registrations.inc @@ -15,7 +15,7 @@ taskFactory := TCreateDaemonProjectTaskFactory.create( try appInst.registerTask( 'project-http', - formatColor('--project-http', TXT_GREEN) + '=[project-name] Create new http project' + LineEnding + + formatColor('--project-http', TXT_GREEN) + '=[project-name] Create new http project using TFpHttpServer' + LineEnding + ' --config=[ini, json] if omitted, config is not setup.' + LineEnding + ' --host=[host where http app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding + ' --port=[port where http app listen] if omitted, 20477 is assumed.' + LineEnding + diff --git a/src/Tasks/Includes/Project/Mhd/task.registrations.inc b/src/Tasks/Includes/Project/Mhd/task.registrations.inc index 27208de..a5c8194 100644 --- a/src/Tasks/Includes/Project/Mhd/task.registrations.inc +++ b/src/Tasks/Includes/Project/Mhd/task.registrations.inc @@ -17,7 +17,7 @@ taskFactory := TCreateDaemonProjectTaskFactory.create( try appInst.registerTask( 'project-mhd', - formatColor('--project-mhd', TXT_GREEN) + '=[project-name] Create new libmicrohttpd project' + LineEnding + + formatColor('--project-mhd', TXT_GREEN) + '=[project-name] Create new http project using libmicrohttpd' + LineEnding + ' --config=[ini, json] if omitted, config is not setup.' + LineEnding + ' --host=[host where http app listen] if omitted, 127.0.0.1 is assumed.' + LineEnding + ' --port=[port where http app listen] if omitted, 20477 is assumed.' + LineEnding +