Removed unnecessary options.
authorPekka Riikonen <priikone@silcnet.org>
Wed, 15 Jan 2003 10:03:27 +0000 (10:03 +0000)
committerPekka Riikonen <priikone@silcnet.org>
Wed, 15 Jan 2003 10:03:27 +0000 (10:03 +0000)
apps/irssi/src/core/session.c
apps/irssi/src/fe-text/silc.c
apps/irssi/src/silc/core/silc-core.c

index 7ebd8f82b956ef60a21bd2eab624d4b42787c1ac..40c4f5474938848d41100f3e2a4f75b8d67afd93 100644 (file)
@@ -350,7 +350,9 @@ static void sig_init_finished(void)
 void session_init(void)
 {
        static struct poptOption options[] = {
+#if 0 /* --session is not available in SILC Client */
                { "session", 0, POPT_ARG_STRING, &session_file, 0, "Used by /UPGRADE command", "PATH" },
+#endif
                { NULL, '\0', 0, NULL }
        };
 
index 452fa009b5fbfb2eb4528f82700d3b670997c838..1591e601cf767622f0652bad1d721f43a3909cc8 100644 (file)
@@ -310,7 +310,9 @@ static void winsock_init(void)
 int main(int argc, char **argv)
 {
        static struct poptOption options[] = {
+#if 0 /* --dummy is not available in SILC Client */
                { "dummy", 'd', POPT_ARG_NONE, &dummy, 0, "Use the dummy terminal mode", NULL },
+#endif
                { NULL, '\0', 0, NULL }
        };
 
index eeea2685303e9ffbbe7e6f804c490d114d8c6fb0..bf572810b301fbd6dd4d3dbdc54a2d3f114693a2 100644 (file)
@@ -360,8 +360,10 @@ void silc_core_init(void)
       "List supported HMACs", NULL },
     { "list-pkcs", 0, POPT_ARG_NONE, NULL, 0,
       "List supported PKCSs", NULL },
+#ifdef SILC_DEBUG
     { "debug", 'd', POPT_ARG_STRING, NULL, 0,
       "Enable debugging", "STRING" },
+#endif /* SILC_DEBUG */
     { "create-key-pair", 'C', POPT_ARG_NONE, NULL, 0,
       "Create new public key pair", NULL },
     { "pkcs", 0, POPT_ARG_STRING, &opt_pkcs, 0,