anchor.diff:    fi
   
     cat <<EOD
  -usage: $(basename $0) [--help] <command> [<args>]
  +usage: $(basename $0) ([--help] | [--version]) <command> [<args>]
   
   The most commonly used puppetdb commands are:
   EOD
  
positive.code: if [ -z $1 ] || [ $1 = "--help" ] || [ $1 = "-h" ]; then
    usage
  fi
  
  execsubcommand "$@"
  
negative.code:   cat << EOD
  
  See '$(basename $0) <command> -h' for more information on a specific command.
  EOD
    exit 0
  }
  
  # Display version then exit
  function show_version {
    cat <<EOD
  PuppetDB Version: <%= @version %>
  EOD
    exit 0
  }
  