Changeset 22 for trunk/tools

Show
Ignore:
Timestamp:
09/25/08 16:01:25 (6 years ago)
Author:
robert
Message:

show usage if no arguments are given

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tools/pgslowq

    r21 r22  
    77 
    88args=`getopt qs:t:wz: $*` 
    9 if [ $? != 0 ] 
     9if [ $? != 0 ] || [ $# -eq 0 ]   
    1010then 
    1111  echo "$0 [-q] [-t #us] [-s len] [-w] [-z zone]"