From: erg Date: Wed, 9 Dec 2009 23:45:26 +0000 (+0000) Subject: Update main to remove no longer valid flags X-Git-Tag: LAST_LIBGRAPH~32^2~1515 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7117339dfd1617baa5b825060177a0a153b91e7c;p=graphviz Update main to remove no longer valid flags --- diff --git a/cmd/smyrna/main.c b/cmd/smyrna/main.c index baa19a40b..50c26752a 100755 --- a/cmd/smyrna/main.c +++ b/cmd/smyrna/main.c @@ -86,10 +86,7 @@ char *smyrnaPath(char *suffix) return buf; } -static char *useString = "Usage: smyrn [-txv?] [-K] \n\ - -n - use TopView mode\n\ - -e - use XDOT mode\n\ - -K - layout graph using \n\ +static char *useString = "Usage: smyrns [-v?] \n\ -v - verbose\n\ -? - print usage\n"; @@ -109,6 +106,7 @@ static char *parseArgs(int argc, char *argv[], ViewInfo * view) case 'v': SmyrnaVerbose = 1; break; +#if 0 case 't': view->dfltViewType = VT_TOPVIEW; break; @@ -118,6 +116,7 @@ static char *parseArgs(int argc, char *argv[], ViewInfo * view) case 'K': view->dfltEngine = s2layout(optarg); break; +#endif case '?': if (optopt == '?') usage(0);