replaces -k with -K (kernel version)

This commit is contained in:
Joe Bryan 2018-11-16 19:21:52 -05:00
parent b3757a243f
commit 0130d72aed
2 changed files with 4 additions and 4 deletions

View File

@ -494,7 +494,7 @@
c3_c* who_c; // -w, begin with ticket
c3_c* pil_c; // -B, bootstrap from
c3_c* lit_c; // -J, ivory (fastboot) kernel
c3_w kno_w; // -k, kernel version
c3_w kno_w; // -K, kernel version
c3_w fuz_w; // -f, fuzz testing
c3_s por_s; // -p, ames port
c3_o abo; // -a, abort aggressively

View File

@ -77,7 +77,7 @@ _main_getopt(c3_i argc, c3_c** argv)
u3_Host.ops_u.rep = c3n;
u3_Host.ops_u.kno_w = DefaultKernel;
while ( (ch_i=getopt(argc, argv,"B:w:f:k:p:LabcdgqvxFPDR")) != -1 ) {
while ( (ch_i=getopt(argc, argv,"B:w:f:K:p:LabcdgqvxFPDR")) != -1 ) {
switch ( ch_i ) {
case 'B': {
u3_Host.ops_u.pil_c = strdup(optarg);
@ -98,7 +98,7 @@ _main_getopt(c3_i argc, c3_c** argv)
}
break;
}
case 'k': {
case 'K': {
if ( c3n == _main_readw(optarg, 256, &u3_Host.ops_u.kno_w) ) {
return c3n;
}
@ -228,7 +228,7 @@ u3_ve_usage(c3_i argc, c3_c** argv)
"-r host Initial peer address\n",
"-l port Initial peer port\n",
"-f Fuzz testing\n",
"-k stage Start at Hoon kernel version stage\n",
"-K stage Start at Hoon kernel version stage\n",
"-R Report urbit build info\n"};
#else
c3_c *use_c[] = {