Restore support for -c and -d that were treacherously murdered in

rev. 1.58.  (This only costs us four bytes.)

Prodded by:	bde
MFC after:	3 days
This commit is contained in:
Ruslan Ermilov 2006-10-26 19:41:02 +00:00
parent 5098c00abe
commit 5a20bc0d54
2 changed files with 8 additions and 4 deletions

View File

@ -79,7 +79,7 @@ __FBSDID("$FreeBSD$");
#define PATH_KERNEL "/boot/kernel/kernel"
#define ARGS 0x900
#define NOPT 12
#define NOPT 14
#define NDEV 3
#define MEM_BASE 0x12
#define MEM_EXT 0x15
@ -99,12 +99,14 @@ __FBSDID("$FreeBSD$");
extern uint32_t _end;
static const char optstr[NOPT] = "DhaCgmnpqrsv"; /* Also 'P', 'S' */
static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */
static const unsigned char flags[NOPT] = {
RBX_DUAL,
RBX_SERIAL,
RBX_ASKNAME,
RBX_CDROM,
RBX_CONFIG,
RBX_KDB,
RBX_GDB,
RBX_MUTE,
RBX_NOINTR,

View File

@ -79,7 +79,7 @@ __FBSDID("$FreeBSD$");
#define PATH_KERNEL "/boot/kernel/kernel"
#define ARGS 0x900
#define NOPT 12
#define NOPT 14
#define NDEV 3
#define MEM_BASE 0x12
#define MEM_EXT 0x15
@ -99,12 +99,14 @@ __FBSDID("$FreeBSD$");
extern uint32_t _end;
static const char optstr[NOPT] = "DhaCgmnpqrsv"; /* Also 'P', 'S' */
static const char optstr[NOPT] = "DhaCcdgmnpqrsv"; /* Also 'P', 'S' */
static const unsigned char flags[NOPT] = {
RBX_DUAL,
RBX_SERIAL,
RBX_ASKNAME,
RBX_CDROM,
RBX_CONFIG,
RBX_KDB,
RBX_GDB,
RBX_MUTE,
RBX_NOINTR,