diff lib/misc.c @ 356:7cb3327f96f7

2003-1-5 Brian Masney <masneyb@gftp.org> * lib/gftp.h lib/misc.c src/gtk/gftpui.c - added GFTP_URL_USAGE that is the sytax for a valid URL. * lib/protocols.c (gftp_set_password) - allow the password to be NULL * src/gtk/gtkui.c src/text/textui.c src/uicommon/gftpui.h - added gftpui_prompt_username() and gftpui_promot_password() to each UI * src/text/gftp-text.c (gftp_text_ask_question) - don't display a : at the end of the question here. * src/text/gftp-text.h - added declaration of gftp_text_ask_question() * src/uicommon/gftpui.c - added gftpui_common_cmd_open(). This still needs a little bit more work done to it.
author masneyb
date Tue, 06 Jan 2004 02:42:30 +0000
parents 3fccdc9eb16f
children af541d789f4c
line wrap: on
line diff
--- a/lib/misc.c	Tue Jan 06 01:44:09 2004 +0000
+++ b/lib/misc.c	Tue Jan 06 02:42:30 2004 +0000
@@ -411,7 +411,7 @@
 void
 gftp_usage (void)
 {
-  printf (_("usage: gftp [[protocol://][user[:pass]@]site[:port][/directory]]\n"));
+  printf (_("usage: gftp " GFTP_URL_USAGE "\n"));
   exit (0);
 }