| 370 text = g_strdup_printf(_("%s %s\n" |
370 text = g_strdup_printf(_("%s %s\n" |
| 371 "Usage: %s [OPTION]...\n\n" |
371 "Usage: %s [OPTION]...\n\n" |
| 372 " -c, --config=DIR use DIR for config files\n" |
372 " -c, --config=DIR use DIR for config files\n" |
| 373 " -d, --debug print debugging messages to stdout\n" |
373 " -d, --debug print debugging messages to stdout\n" |
| 374 " -h, --help display this help and exit\n" |
374 " -h, --help display this help and exit\n" |
| |
375 " -m, --multiple do not ensure single instance\n" |
| 375 " -n, --nologin don't automatically login\n" |
376 " -n, --nologin don't automatically login\n" |
| 376 " -l, --login[=NAME] automatically login (optional argument NAME specifies\n" |
377 " -l, --login[=NAME] automatically login (optional argument NAME specifies\n" |
| 377 " account(s) to use, separated by commas)\n" |
378 " account(s) to use, separated by commas)\n" |
| 378 " -v, --version display the current version and exit\n"), PIDGIN_NAME, VERSION, name); |
379 " -v, --version display the current version and exit\n"), PIDGIN_NAME, VERSION, name); |
| 379 } |
380 } |
| 456 struct option long_options[] = { |
457 struct option long_options[] = { |
| 457 {"config", required_argument, NULL, 'c'}, |
458 {"config", required_argument, NULL, 'c'}, |
| 458 {"debug", no_argument, NULL, 'd'}, |
459 {"debug", no_argument, NULL, 'd'}, |
| 459 {"help", no_argument, NULL, 'h'}, |
460 {"help", no_argument, NULL, 'h'}, |
| 460 {"login", optional_argument, NULL, 'l'}, |
461 {"login", optional_argument, NULL, 'l'}, |
| |
462 {"multiple", no_argument, NULL, 'm'}, |
| 461 {"nologin", no_argument, NULL, 'n'}, |
463 {"nologin", no_argument, NULL, 'n'}, |
| 462 {"session", required_argument, NULL, 's'}, |
464 {"session", required_argument, NULL, 's'}, |
| 463 {"version", no_argument, NULL, 'v'}, |
465 {"version", no_argument, NULL, 'v'}, |
| 464 {0, 0, 0, 0} |
466 {0, 0, 0, 0} |
| 465 }; |
467 }; |