summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/trees b/script/trees
index 1075b220..e22467f7 100755
--- a/script/trees
+++ b/script/trees
@@ -27,7 +27,7 @@ main()
-s) mode="savedefconfig" ;;
-l) mode="olddefconfig" ;;
-n) mode="nconfig" ;;
- *) $err "Invalid option" ;;
+ *) badcmd "invalid option '-$option'" ;;
esac
shift; project="${OPTARG#src/}"; shift
done