summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2022-06-05 18:28:51 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2022-06-05 18:28:51 -0700
commit7bda1d4bfb4f927b04e7b1c03b34eaef5dd88ee8 (patch)
tree057e63b16f826122d7be694d34e5f6ab48e2225c
parent617eb759ae67b7fc839322639ab97cc6200e53af (diff)
downloadabc-7bda1d4bfb4f927b04e7b1c03b34eaef5dd88ee8.tar.gz
abc-7bda1d4bfb4f927b04e7b1c03b34eaef5dd88ee8.tar.bz2
abc-7bda1d4bfb4f927b04e7b1c03b34eaef5dd88ee8.zip
Renaming switch '-i' into '-c' in %collapse.
-rw-r--r--src/base/wln/wlnCom.c8
1 files changed, 4 insertions, 4 deletions
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 <module>] [-ivh] <file_name>\n" );
+ Abc_Print( -2, "usage: %%collapse [-T <module>] [-cvh] <file_name>\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;