Mercurial > pidgin
changeset 11785:c90676803a1a
[gaim-migrate @ 14076]
Remove the "-a" command line option.
-n was supposed to start all accounts as offline
-a was supposed to start all accounts as offline and also show the account editor
I really DON'T think we need both of these.
(I'll fix -n soon)
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Mon, 24 Oct 2005 02:55:27 +0000 |
parents | 141368559673 |
children | 2c8216659a84 |
files | src/gtkmain.c |
diffstat | 1 files changed, 2 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkmain.c Mon Oct 24 02:43:19 2005 +0000 +++ b/src/gtkmain.c Mon Oct 24 02:55:27 2005 +0000 @@ -327,7 +327,6 @@ } else { text = g_strdup_printf(_("Gaim %s\n" "Usage: %s [OPTION]...\n\n" - " -a, --acct display account editor window\n" " -c, --config=DIR use DIR for config files\n" " -d, --debug print debugging messages to stdout\n" " -h, --help display this help and exit\n" @@ -445,7 +444,6 @@ int main(int argc, char *argv[]) #endif { - gboolean opt_acct = FALSE; gboolean opt_help = FALSE; gboolean opt_login = FALSE; gboolean opt_nologin = FALSE; @@ -468,7 +466,6 @@ #endif struct option long_options[] = { - {"acct", no_argument, NULL, 'a'}, {"config", required_argument, NULL, 'c'}, {"debug", no_argument, NULL, 'd'}, {"help", no_argument, NULL, 'h'}, @@ -553,9 +550,6 @@ #endif long_options, NULL)) != -1) { switch (opt) { - case 'a': /* account editor */ - opt_acct = TRUE; - break; case 'c': /* config dir */ g_free(opt_config_dir_arg); opt_config_dir_arg = g_strdup(optarg); @@ -675,13 +669,13 @@ } } - if (!opt_acct && !opt_nologin) + if (!opt_nologin) { /* Everything is good to go--sign on already */ gaim_accounts_restore_previous_statuses(); } - if (opt_acct || (gaim_accounts_get_all_active() == NULL)) + if (gaim_accounts_get_all_active() == NULL) { gaim_gtk_accounts_window_show(); }