pidgin: dfdceb0b: Correct documentation in --help and man ...
nosnilmot at pidgin.im
nosnilmot at pidgin.im
Tue Mar 4 11:26:20 EST 2008
-----------------------------------------------------------------
Revision: dfdceb0b08475c3e5750b3e6430d154e9a747d67
Ancestor: 737941c554250344668ddf2ad67d340390521557
Author: nosnilmot at pidgin.im
Date: 2008-03-04T16:23:07
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/dfdceb0b08475c3e5750b3e6430d154e9a747d67
Modified files:
doc/pidgin.1.in pidgin/gtkmain.c
ChangeLog:
Correct documentation in --help and man page for -l command line option.
Fixes #5076
-------------- next part --------------
============================================================
--- doc/pidgin.1.in 72a053adbba96e210722a31a2ca3da20db9729ec
+++ doc/pidgin.1.in 8639058d6e95eb2394a3d9383ba2107b137a8bc6
@@ -57,9 +57,9 @@ Don't automatically login when Pidgin st
\fBOffline\fR.
.TP
.B \-l, \-\-login[=\fINAME\fR,\fINAME\fR,...]
-Sign in the comma-separated list of accounts provided, in addition to the
-accounts that would be logged in anyway. If the user does not specify such a
-comma-separated list, the first account in accounts.xml will be signed in.
+Enable the comma-separated list of accounts provided, disabling all other
+accounts. If the user does not specify such a comma-separated list, the
+first account in accounts.xml will be enabled.
.TP
.B \-v, \-\-version
Print the current version and exit.
============================================================
--- pidgin/gtkmain.c f4a9470d6d9a57b1c8dd6ff09ab86163c7c4aa92
+++ pidgin/gtkmain.c b30a878c499894cc82f3a610608548fc6d83e342
@@ -406,8 +406,9 @@ show_usage(const char *name, gboolean te
" -h, --help display this help and exit\n"
" -m, --multiple do not ensure single instance\n"
" -n, --nologin don't automatically login\n"
- " -l, --login[=NAME] automatically login (optional argument NAME specifies\n"
- " account(s) to use, separated by commas)\n"
+ " -l, --login[=NAME] enable specified account(s) (optional argument NAME\n"
+ " specifies account(s) to use, separated by commas.\n"
+ " Without this only the first account will be enabled).\n"
" --display=DISPLAY X display to use\n"
" -v, --version display the current version and exit\n"), PIDGIN_NAME, DISPLAY_VERSION, name);
#else
@@ -418,8 +419,9 @@ show_usage(const char *name, gboolean te
" -h, --help display this help and exit\n"
" -m, --multiple do not ensure single instance\n"
" -n, --nologin don't automatically login\n"
- " -l, --login[=NAME] automatically login (optional argument NAME specifies\n"
- " account(s) to use, separated by commas)\n"
+ " -l, --login[=NAME] enable specified account(s) (optional argument NAME\n"
+ " specifies account(s) to use, separated by commas.\n"
+ " Without this only the first account will be enabled).\n"
" -v, --version display the current version and exit\n"), PIDGIN_NAME, DISPLAY_VERSION, name);
#endif
}
@@ -476,6 +478,7 @@ int main(int argc, char *argv[])
gboolean opt_help = FALSE;
gboolean opt_login = FALSE;
gboolean opt_nologin = FALSE;
+ gboolean opt_nocrash = FALSE;
gboolean opt_version = FALSE;
gboolean opt_si = TRUE; /* Check for single instance? */
char *opt_config_dir_arg = NULL;
@@ -506,6 +509,7 @@ int main(int argc, char *argv[])
{"login", optional_argument, NULL, 'l'},
{"multiple", no_argument, NULL, 'm'},
{"nologin", no_argument, NULL, 'n'},
+ {"nocrash", no_argument, NULL, 'x'},
{"session", required_argument, NULL, 's'},
{"version", no_argument, NULL, 'v'},
{"display", required_argument, NULL, 'D'},
@@ -655,6 +659,9 @@ int main(int argc, char *argv[])
case 'm': /* do not ensure single instance. */
opt_si = FALSE;
break;
+ case 'x': /* --nocrash */
+ opt_nocrash = TRUE;
+ break;
case 'D': /* --display */
case 'S': /* --sync */
/* handled by gtk_init_check below */
More information about the Commits
mailing list