Fix: Return when called with no argument (to avoid failing assertion)

This commit is contained in:
Ralph Lange
2003-04-23 16:44:58 +00:00
parent 2ad485368b
commit afdf3c9af2
+4 -3
View File
@@ -24,9 +24,10 @@ int main ( int argc, char **argv )
if ( argc < 2 || argc > 6 ) {
printf (
"usage: %s <PV name> [progress logging level] [channel count] [repetition count] [enable preemptive callback]\n",
argv[0] );
printf ("usage: %s <PV name> [progress logging level] [channel count] "
"[repetition count] [enable preemptive callback]\n",
argv[0] );
return 1;
}
if ( argc >= 3 ) {