mirror of
https://github.com/ilyakooo0/urbit.git
synced 2025-01-05 22:03:50 +03:00
Default -c with -w.
This commit is contained in:
parent
2f8906d34b
commit
503a953f2e
4
v/main.c
4
v/main.c
@ -91,6 +91,8 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
}
|
||||
case 'w': {
|
||||
u3_Host.ops_u.who_c = _main_presig(optarg);
|
||||
u3_Host.ops_u.nuu = c3y;
|
||||
u3_Host.dir_c = strdup(u3_Host.ops_u.who_c);
|
||||
break;
|
||||
}
|
||||
case 't': {
|
||||
@ -181,7 +183,7 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
}
|
||||
|
||||
if ( argc != (optind + 1) ) {
|
||||
return c3n;
|
||||
return u3_Host.dir_c ? c3y : c3n;
|
||||
} else {
|
||||
{
|
||||
c3_c* ash_c;
|
||||
|
Loading…
Reference in New Issue
Block a user