Commit Graph
6 Commits
Author SHA1 Message Date
Alejandro Colomar bb376c6838 Simplify, by calling nxt_conf_get_string_dup()
Refactor.

Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Cc: Zhidao Hong <z.hong@f5.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-02-05 18:37:32 +01:00
Alejandro Colomar ecd573924f Configuration: Add nxt_conf_get_string_dup()
This function is like nxt_conf_get_string(), but creates a new copy,
so that it can be modified without corrupting the configuration string.

Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Cc: Zhidao Hong <z.hong@f5.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-02-05 18:37:21 +01:00
Alejandro Colomar ba56e50ee7 Tools: setup-unit: -hh: Add short-cut for the advanced help
I hate having to type so much just for the useful help.

Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-01-23 18:16:02 +01:00
Alejandro Colomar 034b6394a4 Tools: setup-unit: -hh: The advanced commands aren't experimental
I've been using them for a long time, and they are quite useful and
stable.  Let's say they're advanced instead of experimental.

Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-01-23 18:15:53 +01:00
Alejandro Colomar af6833a182 Tools: setup-unit: -hh: Add missing documentation for 'restart'
Reviewed-by: Andrew Clayton <a.clayton@nginx.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
2024-01-23 18:15:26 +01:00
Alejandro ColomarandAndrew Clayton 299e783e5d .mailmap: updated address for Alex.
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
2023-10-25 15:20:07 +01:00