From 647f5ad370c3a1316b44c8f6e75cf43d92ecf31d Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Sat, 10 Apr 2010 22:38:02 +0000 Subject: [PATCH] Added -q quiet option. --- trunk/ppss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/trunk/ppss b/trunk/ppss index a675cda..09b5bc6 100755 --- a/trunk/ppss +++ b/trunk/ppss @@ -122,7 +122,7 @@ showusage_short () { echo echo "usage: $0 [ -d | -f ] [ -c ' \"\$ITEM\"' ]" echo " [ -C ] [ -j ] [ -l ] [ -p <# jobs> ]" - echo " [ -D ] [ -h ] [ --help ] [ -r ] " + echo " [ -q ] [ -D ] [ -h ] [ --help ] [ -r ] " echo echo "Examples:" echo " $0 -d /dir/with/some/files -c 'gzip '" @@ -167,6 +167,8 @@ showusage_normal () { echo -e "--processes | -p Start the specified number of processes. Ignore the number of available" echo -e " CPUs." echo + echo -e "--quiet | -q Shows no output except for a progress indication using percents." + echo echo -e "--delay | -D Adds an initial random delay to the start of all parallel jobs to spread" echo -e " the load. The delay is only used at the start of all 'threads'." echo @@ -239,6 +241,8 @@ showusage_long () { echo -e "--processes | -p Start the specified number of processes. Ignore the number of available" echo -e " CPUs." echo + echo -e "--quiet | -q Shows no output except for a progress indication using percents." + echo echo -e "--delay | -D Adds an initial random delay to the start of all parallel jobs to spread" echo -e " the load. The delay is only used at the start of all 'threads'." echo