[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH for-xen-4.5] Adjust helptext in m4/systemd.m4

Use AS_HELP_STRING for proper formating, mention both options take a
directory, mention the default value, quote the arguments in brackets.

Please rerun autogen.sh after applying this patch.

Signed-off-by: Olaf Hering <olaf@xxxxxxxxx>
Cc: Ian Campbell <ian.campbell@xxxxxxxxxx>
Cc: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Cc: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Cc: Wei Liu <wei.liu2@xxxxxxxxxx>
 m4/systemd.m4 | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/m4/systemd.m4 b/m4/systemd.m4
index 760bbad..629d202 100644
--- a/m4/systemd.m4
+++ b/m4/systemd.m4
@@ -18,12 +18,16 @@
 dnl Some optional path options
-       AC_ARG_WITH(systemd, [  --with-systemd          set directory for 
systemd service files],
-               SYSTEMD_DIR="$withval", SYSTEMD_DIR="")
+       AC_ARG_WITH(systemd,
+               AS_HELP_STRING([--with-systemd=DIR],
+               [set directory for systemd service files 
+               [SYSTEMD_DIR="$withval"],[SYSTEMD_DIR=""])
-       AC_ARG_WITH(systemd, [  --with-systemd-modules-load          set 
directory for systemd modules load files],
-               SYSTEMD_MODULES_LOAD="$withval", SYSTEMD_MODULES_LOAD="")
+       AC_ARG_WITH(systemd,
+               AS_HELP_STRING([--with-systemd-modules-load=DIR],
+               [set directory for systemd modules load files 
+               [SYSTEMD_MODULES_LOAD="$withval"], [SYSTEMD_MODULES_LOAD=""])

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.