From f93f84ffe0c181273b974b57a3e7cb89df653e33 Mon Sep 17 00:00:00 2001 From: "C. Guy Yarvin" Date: Tue, 2 Jun 2015 16:17:55 -0700 Subject: [PATCH] Various fixes and improvements. --- v/main.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/v/main.c b/v/main.c index 15fea5f821..ec384e4c3f 100644 --- a/v/main.c +++ b/v/main.c @@ -79,7 +79,7 @@ _main_getopt(c3_i argc, c3_c** argv) u3_Host.ops_u.mem = c3n; u3_Host.ops_u.kno_w = DefaultKernel; - while ( (ch_i = getopt(argc, argv, "I:T:X:f:k:l:n:p:r:LabcdgqvFMPD")) != -1 ) { + while ( (ch_i = getopt(argc, argv, "I:w:t:X:f:k:l:n:p:r:LabcdgqvFMPD")) != -1 ) { switch ( ch_i ) { case 'M': { u3_Host.ops_u.mem = c3y; @@ -89,9 +89,12 @@ _main_getopt(c3_i argc, c3_c** argv) u3_Host.ops_u.imp_c = strdup(optarg); break; } - case 'T': { + case 'w': { u3_Host.ops_u.who_c = _main_presig(optarg); - u3_Host.ops_u.tic_c = _main_presig(getpass("your ticket: ~")); + break; + } + case 't': { + u3_Host.ops_u.tic_c = _main_presig(optarg); break; } case 'X': {