summaryrefslogtreecommitdiffstats
path: root/src/base/main/mainUtils.c
diff options
context:
space:
mode:
authorBaruch Sterin <baruchs@gmail.com>2013-12-07 00:44:57 -0800
committerBaruch Sterin <baruchs@gmail.com>2013-12-07 00:44:57 -0800
commitc5a0ce906377b51ef2eab9fcdd3cc8c56de43ef3 (patch)
tree72695d32429ec7bad5afc2cf8c64bddafe6fe431 /src/base/main/mainUtils.c
parent22f9e9998f9395c684beb390cd3ec600d10039aa (diff)
downloadabc-c5a0ce906377b51ef2eab9fcdd3cc8c56de43ef3.tar.gz
abc-c5a0ce906377b51ef2eab9fcdd3cc8c56de43ef3.tar.bz2
abc-c5a0ce906377b51ef2eab9fcdd3cc8c56de43ef3.zip
add a new command line option to ABC, -q, same as -c, but without echoing the command
Diffstat (limited to 'src/base/main/mainUtils.c')
-rw-r--r--src/base/main/mainUtils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/main/mainUtils.c b/src/base/main/mainUtils.c
index 2b4e682b..30d1693c 100644
--- a/src/base/main/mainUtils.c
+++ b/src/base/main/mainUtils.c
@@ -124,6 +124,8 @@ void Abc_UtilsPrintUsage( Abc_Frame_t * pAbc, char * ProgName )
"usage: %s [-c cmd] [-f script] [-h] [-o file] [-s] [-t type] [-T type] [-x] [-b] [file]\n",
ProgName);
fprintf( pAbc->Err, " -c cmd\texecute commands `cmd'\n");
+ fprintf( pAbc->Err, " -q cmd\texecute commands `cmd' quietly\n");
+ fprintf( pAbc->Err, " -C cmd\texecute commands `cmd', then continue in interactive mode\n");
fprintf( pAbc->Err, " -F script\texecute commands from a script file and echo commands\n");
fprintf( pAbc->Err, " -f script\texecute commands from a script file\n");
fprintf( pAbc->Err, " -h\t\tprint the command usage\n");