#!/bin/sh
old=$1
new=$2
if [ -z "$old" -o -z "$new" -o ! -d "$old/cmds" -o ! -d "$new/cmds" ]
then
  echo "Usage: $0 old-gf-dir new-gf-dir"
  echo "use get-command-usage to get the usage files for two releases"
  exit 1
fi
for c in `(cd $new/cmds; ls -1)`
do
  test -f $old/cmds/$c && (diff $old/cmds/$c $new/cmds/$c > /dev/null || 
  ( echo Command: $c; diff -b $old/cmds/$c $new/cmds/$c; echo ) )
done