mirror of
https://github.com/urbit/shrub.git
synced 2024-12-23 02:41:35 +03:00
replaces -k with -K (kernel version)
This commit is contained in:
parent
b3757a243f
commit
0130d72aed
@ -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
|
||||
|
@ -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[] = {
|
||||
|
Loading…
Reference in New Issue
Block a user