Add g option to usage line

This commit is contained in:
Andrey A. Chernov 1996-08-28 18:33:15 +00:00
parent f680933e5e
commit a6f2461bdf
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17873
2 changed files with 3 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* the rights to redistribute these changes.
*
* from: Mach, [92/04/03 16:51:14 rvb]
* $Id: boot.c,v 1.53 1996/07/12 05:25:45 bde Exp $
* $Id: boot.c,v 1.54 1996/08/27 19:45:37 pst Exp $
*/
@ -145,7 +145,7 @@ loadstart:
/* print this all each time.. (saves space to do so) */
/* If we have looped, use the previous entries as defaults */
printf("\n>> FreeBSD BOOT @ 0x%x: %d/%d k of memory\n"
"Usage: [[[%d:][%s](%d,a)]%s][-abcCdhrsv]\n"
"Usage: [[[%d:][%s](%d,a)]%s][-abcCdghrsv]\n"
"Use 1:sd(0,a)kernel to boot sd0 if it is BIOS drive 1\n"
"Use ? for file list or press Enter for defaults\n\nBoot: ",
ouraddr, bootinfo.bi_basemem, bootinfo.bi_extmem,

View File

@ -40,6 +40,7 @@ static void usage(char *name)
fprintf(stderr, "\t-s ... reboot to single user only\n");
fprintf(stderr, "\t-a ... ask for file name to reboot from\n");
fprintf(stderr, "\t-d ... give control to kernel debugger\n");
fprintf(stderr, "\t-g ... give control to GDB debugger\n");
fprintf(stderr, "\t-c ... invoke user configuration routing\n");
fprintf(stderr, "\t-v ... print all potentially useful info\n");
fprintf(stderr, "\t-C ... use cdrom as root\n");