mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
[build] Allow command help text URI to be customised via config/branding.h
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -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] );
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user