Default -c with -w.

This commit is contained in:
C. Guy Yarvin 2015-06-05 19:29:05 -07:00
parent 2f8906d34b
commit 503a953f2e

View File

@ -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;