Index: trunk/DataStoreServer/scripts/dsprodtool
===================================================================
--- trunk/DataStoreServer/scripts/dsprodtool	(revision 25668)
+++ trunk/DataStoreServer/scripts/dsprodtool	(revision 26205)
@@ -67,5 +67,5 @@
 
 # will exit if neither or both -add and -del were specified
-$err .= "Must specify either --add or --del.\n"
+show_usage( "Must specify either --add or --del.")
     unless $add xor $del;
 
@@ -79,5 +79,5 @@
     }
 
-} else {
+} elsif ($del) {
     $product = $del;
     if (! -t STDIN) {
