Mercurial > gftp.yaz
diff src/uicommon/gftpui.c @ 651:5f2808c65e46
2004-12-31 Brian Masney <masneyb@gftp.org>
* src/uicommon/gftpui.c - added dir and ldir commands to the command
line interface
author | masneyb |
---|---|
date | Fri, 31 Dec 2004 14:25:28 +0000 |
parents | fa0838b22b14 |
children | cb8ba8124e0e |
line wrap: on
line diff
--- a/src/uicommon/gftpui.c Fri Dec 31 14:21:04 2004 +0000 +++ b/src/uicommon/gftpui.c Fri Dec 31 14:25:28 2004 +0000 @@ -979,6 +979,8 @@ N_("Disconnects from the remote site"), NULL}, {N_("delete"), 1, gftpui_common_cmd_delete, gftpui_common_request_remote, N_("Removes a remote file"), NULL}, + {N_("dir"), 3, gftpui_common_cmd_ls, gftpui_common_request_remote, + N_("Shows the directory listing for the current remote directory"), NULL}, {N_("get"), 1, gftpui_common_cmd_mget_file, gftpui_common_request_remote, N_("Downloads remote file(s)"), NULL}, {N_("help"), 1, gftpui_common_cmd_help, gftpui_common_request_none, @@ -991,6 +993,8 @@ N_("Changes the permissions of a local file"), NULL}, {N_("ldelete"), 2, gftpui_common_cmd_delete, gftpui_common_request_local, N_("Removes a local file"), NULL}, + {N_("ldir"), 4, gftpui_common_cmd_ls, gftpui_common_request_local, + N_("Shows the directory listing for the current local directory"), NULL}, {N_("lls"), 2, gftpui_common_cmd_ls, gftpui_common_request_local, N_("Shows the directory listing for the current local directory"), NULL}, {N_("lmkdir"), 2, gftpui_common_cmd_mkdir, gftpui_common_request_local,