-#showprop("FP_REMOTE_POWER");
-#showprop("FP_REMOTE_BOOT");
-#showprop("SERVER_HARD_RESET_VIA_IPMI");
-#showprop("SERVER_HARD_RESET_PULSE_MS");
-#showprop("SERVER_POWER_CHANGE_VIA_IPMI");
-#showprop("SERVER_POWER_ON_MODE");
-#showprop("SERVER_POWER_ON_PULSE_MS");
-#showprop("SERVER_POWER_OFF_MODE");
-#showprop("SERVER_POWER_OFF_PULSE_MS");
+if (!$valid_arg) {
+ print STDERR "Usage: $0 options card-alias\n";
+ print STDERR "Options:\n";
+ print STDERR "\t-g property\tget property value\n";
+ print STDERR "\t-s property=val\tset property value\n";
+ print STDERR "\t-u\t\tpowerup\n";
+ print STDERR "\t-d\t\tpowerdown\n";
+ print STDERR "\t-c\t\tpowercycle\n";
+ print STDERR "\t-r\t\treset\n";
+ print STDERR "\t-x\t\tshow all properties, variables and settings\n";
+ print STDERR "\t-l IP\t\tsend SYSLOG debug messages to IP\n";
+ print STDERR "\t-v\t\tverbose\n";
+ print STDERR "\t-save file\tsave configuration to 'file'\n";
+ print STDERR "\t-load file\tload configuration from 'file'\n";
+ print STDERR "\n";
+ print STDERR "card-alias\tone of: ";
+ foreach my $alias (@sections) {
+ print STDERR "\"${alias}\" ";
+ }
+ print STDERR "(see ~/.rsbs2rc)\n";
+ exit(1);
+}