aboutsummaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-02-11 13:49:02 +0000
committerMichael Brown <mcb30@ipxe.org>2015-02-11 14:11:28 +0000
commit92f3bd901e359649cab05c7cb566d333e1f46f19 (patch)
tree38e243f1d11f203913756da7a74f5a5fd884ec0f /src/core
parenteac445b650d60b54bae2e6738ef45117adacd90a (diff)
downloadipxe-92f3bd901e359649cab05c7cb566d333e1f46f19.tar.gz
[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')
-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] );
}