Added -q quiet option.

This commit is contained in:
Louwrentius 2010-04-10 22:38:02 +00:00
parent 38812a58b6
commit 2dcaced13b
1 changed files with 5 additions and 1 deletions

6
ppss
View File

@ -122,7 +122,7 @@ showusage_short () {
echo
echo "usage: $0 [ -d <sourcedir> | -f <sourcefile> ] [ -c '<command> \"\$ITEM\"' ]"
echo " [ -C <configfile> ] [ -j ] [ -l <logfile> ] [ -p <# jobs> ]"
echo " [ -D <delay> ] [ -h ] [ --help ] [ -r ] "
echo " [ -q ] [ -D <delay> ] [ -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