summaryrefslogtreecommitdiffstats
path: root/src/core/parseopt.c
diff options
context:
space:
mode:
authorMichael Brown2015-02-11 14:49:02 +0100
committerMichael Brown2015-02-11 15:11:28 +0100
commit92f3bd901e359649cab05c7cb566d333e1f46f19 (patch)
tree38e243f1d11f203913756da7a74f5a5fd884ec0f /src/core/parseopt.c
parent[build] Allow error message URI to be customised via config/branding.h (diff)
downloadipxe-92f3bd901e359649cab05c7cb566d333e1f46f19.tar.gz
ipxe-92f3bd901e359649cab05c7cb566d333e1f46f19.tar.xz
ipxe-92f3bd901e359649cab05c7cb566d333e1f46f19.zip
[build] Allow command help text URI to be customised via config/branding.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/core/parseopt.c')
-rw-r--r--src/core/parseopt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/parseopt.c b/src/core/parseopt.c
index d268c059..2c853eea 100644
--- a/src/core/parseopt.c
+++ b/src/core/parseopt.c
@@ -32,6 +32,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#include <ipxe/params.h>
#include <ipxe/timer.h>
#include <ipxe/parseopt.h>
+#include <config/branding.h>
/** @file
*
@@ -343,7 +344,7 @@ void print_usage ( struct command_descriptor *cmd, char **argv ) {
}
if ( cmd->usage )
printf ( " %s", cmd->usage );
- printf ( "\n\nSee http://ipxe.org/cmd/%s for further information\n",
+ printf ( "\n\nSee " PRODUCT_COMMAND_URI " for further information\n",
argv[0] );
}