From 7bda1d4bfb4f927b04e7b1c03b34eaef5dd88ee8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sun, 5 Jun 2022 18:28:51 -0700 Subject: Renaming switch '-i' into '-c' in %collapse. --- src/base/wln/wlnCom.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/base') diff --git a/src/base/wln/wlnCom.c b/src/base/wln/wlnCom.c index 0314fff3..eb96132b 100644 --- a/src/base/wln/wlnCom.c +++ b/src/base/wln/wlnCom.c @@ -336,7 +336,7 @@ int Abc_CommandCollapse( Abc_Frame_t * pAbc, int argc, char ** argv ) char * pTopModule = NULL; int c, fInv = 0, fVerbose = 0; Extra_UtilGetoptReset(); - while ( ( c = Extra_UtilGetopt( argc, argv, "Tivh" ) ) != EOF ) + while ( ( c = Extra_UtilGetopt( argc, argv, "Tcvh" ) ) != EOF ) { switch ( c ) { @@ -349,7 +349,7 @@ int Abc_CommandCollapse( Abc_Frame_t * pAbc, int argc, char ** argv ) pTopModule = argv[globalUtilOptind]; globalUtilOptind++; break; - case 'i': + case 'c': fInv ^= 1; break; case 'v': @@ -372,10 +372,10 @@ int Abc_CommandCollapse( Abc_Frame_t * pAbc, int argc, char ** argv ) Abc_FrameUpdateGia( pAbc, pNew ); return 0; usage: - Abc_Print( -2, "usage: %%collapse [-T ] [-ivh] \n" ); + Abc_Print( -2, "usage: %%collapse [-T ] [-cvh] \n" ); Abc_Print( -2, "\t collapse hierarchical design into an AIG\n" ); Abc_Print( -2, "\t-T : specify the top module of the design [default = none]\n" ); - Abc_Print( -2, "\t-i : toggle complementing miter outputs after collapsing [default = %s]\n", fInv? "yes": "no" ); + Abc_Print( -2, "\t-c : toggle complementing miter outputs after collapsing [default = %s]\n", fInv? "yes": "no" ); Abc_Print( -2, "\t-v : toggle printing verbose information [default = %s]\n", fVerbose? "yes": "no" ); Abc_Print( -2, "\t-h : print the command usage\n"); return 1; -- cgit v1.2.3