report options at init - vx32 - Local 9vx git repository for patches.
       
 (DIR) Log
 (DIR) Files
 (DIR) Refs
       ---
 (DIR) commit 78c44e32feb647f166a4446001f625de142430d8
 (DIR) parent 45a30ac43ae73561addccadd3dcf24b2556f63ee
 (HTM) Author: Jesus Galan Lopez (yiyus) <yiyu.jgl@gmail.com>
       Date:   Mon, 31 May 2010 23:44:57 +0200
       
       report options at init
       
       Diffstat:
         src/9vx/main.c                      |      10 ++++++++--
       
       1 file changed, 8 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/9vx/main.c b/src/9vx/main.c
       @@ -79,7 +79,7 @@ void
        usage(void)
        {
                // TODO(yy): add debug and other options by ron
       -        fprint(2, "usage: 9vx [-bgit] [-r root] [-u user] [-p ini file]\n");
       +        fprint(2, "usage: 9vx [-p file.ini] [-bgit] [-r root] [-u user]\n");
                exit(1);
        }
        
       @@ -213,7 +213,13 @@ main(int argc, char **argv)
                /*
                 * Debugging: tell user what options we guessed.
                 */
       -        print("9vx %s-r %s -u %s\n", usetty ? "-t " : "", localroot, username);
       +        print("9vx ");
       +        if(inifile)
       +                print("-p %s ", inifile);
       +        if(bootboot | nogui | initrc | usetty)
       +                print("-%s%s%s%s ", bootboot ? "b" : "", nogui ? "g" : "",
       +                        initrc ? "i " : "", usetty ? "t " : "");
       +        print("-r %s -u %s\n", localroot, username);
        
                printinit();
                procinit0();