9 #import <Cocoa/Cocoa.h>
10 #include <freerdp/client/cmdline.h>
12 int main(
int argc,
char *argv[])
14 freerdp_client_warn_deprecated(argc, argv);
15 for (
int i = 0; i < argc; i++)
17 char *ctemp = argv[i];
18 if (memcmp(ctemp,
"/p:", 3) == 0 || memcmp(ctemp,
"-p:", 3) == 0)
20 memset(ctemp + 3,
'*', strlen(ctemp) - 3);
24 const char **cargv = (
const char **)argv;
25 return NSApplicationMain(argc, cargv);