mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-11 16:09:31 +03:00
vere: removes unimplemented cli args -b and -V
-b (batch create) and -V (replay w/out reboots)
This commit is contained in:
parent
32052396d8
commit
9fad3153f9
@ -70,7 +70,6 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
c3_w arg_w;
|
||||
|
||||
u3_Host.ops_u.abo = c3n;
|
||||
u3_Host.ops_u.bat = c3n;
|
||||
u3_Host.ops_u.dem = c3n;
|
||||
u3_Host.ops_u.dry = c3n;
|
||||
u3_Host.ops_u.gab = c3n;
|
||||
@ -94,7 +93,7 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
u3_Host.ops_u.kno_w = DefaultKernel;
|
||||
|
||||
while ( -1 != (ch_i=getopt(argc, argv,
|
||||
"G:J:B:K:A:H:I:w:u:e:F:k:p:LljabcdgqstvxPDRS")) )
|
||||
"G:J:B:K:A:H:I:w:u:e:F:k:p:LljacdgqstvxPDRS")) )
|
||||
{
|
||||
switch ( ch_i ) {
|
||||
case 'J': {
|
||||
@ -167,7 +166,6 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
case 'l': { u3_Host.ops_u.lit = c3y; break; }
|
||||
case 'j': { u3_Host.ops_u.tra = c3y; break; }
|
||||
case 'a': { u3_Host.ops_u.abo = c3y; break; }
|
||||
case 'b': { u3_Host.ops_u.bat = c3y; break; }
|
||||
case 'c': { u3_Host.ops_u.nuu = c3y; break; }
|
||||
case 'd': { u3_Host.ops_u.dem = c3y; break; }
|
||||
case 'g': { u3_Host.ops_u.gab = c3y; break; }
|
||||
@ -224,11 +222,6 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
u3_Host.dir_c = strdup(argv[optind]);
|
||||
}
|
||||
|
||||
if ( c3y == u3_Host.ops_u.bat ) {
|
||||
u3_Host.ops_u.dem = c3y;
|
||||
u3_Host.ops_u.nuu = c3y;
|
||||
}
|
||||
|
||||
// daemon mode (-d) implies disabling terminal assumptions (-t)
|
||||
//
|
||||
if ( c3y == u3_Host.ops_u.dem ) {
|
||||
@ -370,7 +363,6 @@ u3_ve_usage(c3_i argc, c3_c** argv)
|
||||
// XX find a way to re-enable
|
||||
// "-A dir Use dir for initial galaxy sync\n",
|
||||
"-B pill Bootstrap from this pill\n",
|
||||
"-b Batch create\n",
|
||||
"-c pier Create a new urbit in pier/\n",
|
||||
"-D Recompute from events\n",
|
||||
"-d Daemon mode; implies -t\n",
|
||||
@ -670,7 +662,7 @@ main(c3_i argc,
|
||||
u3K.certs_c = strdup("/tmp/urbit-ca-cert-XXXXXX");
|
||||
_setup_cert_store(u3K.certs_c);
|
||||
|
||||
if ( c3y == u3_Host.ops_u.dem && c3n == u3_Host.ops_u.bat ) {
|
||||
if ( c3y == u3_Host.ops_u.dem ) {
|
||||
printf("boot: running as daemon\n");
|
||||
}
|
||||
|
||||
|
@ -543,7 +543,6 @@
|
||||
c3_c* arv_c; // -A, initial sync from
|
||||
c3_o abo; // -a, abort aggressively
|
||||
c3_c* pil_c; // -B, bootstrap from
|
||||
c3_o bat; // -b, batch create
|
||||
c3_o nuu; // -c, new pier
|
||||
c3_o dry; // -D, dry compute, no checkpoint
|
||||
c3_o dem; // -d, daemon
|
||||
@ -567,7 +566,6 @@
|
||||
c3_o tem; // -t, Disable terminal/tty assumptions
|
||||
c3_o git; // -s, pill url from arvo git hash
|
||||
c3_c* url_c; // -u, pill url
|
||||
c3_o vno; // -V, replay without reboots
|
||||
c3_o veb; // -v, verbose (inverse of -q)
|
||||
c3_c* who_c; // -w, begin with ticket
|
||||
c3_o tex; // -x, exit after loading
|
||||
|
Loading…
Reference in New Issue
Block a user