{"port", 1, 0, OPT_PORT},
{0,0,0,0}};
-void parse_arguments(int argc, char *argv[])
+
+int parse_arguments(int argc, char *argv[])
{
int opt;
int option_index;
preserve_hard_links=1;
#else
rprintf(FERROR,"ERROR: hard links not supported on this platform\n");
- exit_cleanup(1);
+ return 0;
#endif
break;
break;
default:
- /* rprintf(FERROR,"bad option -%c\n",opt); */
- exit_cleanup(1);
+ return 0;
}
}
+ return 1;
}