aboutsummaryrefslogtreecommitdiff
path: root/mpiosh/global.c
diff options
context:
space:
mode:
authorgermeier <germeier>2003-04-19 23:58:02 +0000
committergermeier <germeier>2003-04-19 23:58:02 +0000
commit7935e28c8e5956849f1a1432dc7ae8e5ef4ea414 (patch)
tree492e08b64204151ea4001a21046d642d98d7d607 /mpiosh/global.c
parentb44b29a82825c1a898024f9a9943fa71587aaf4b (diff)
downloadmpiosh-7935e28c8e5956849f1a1432dc7ae8e5ef4ea414.tar.gz
mpiosh-7935e28c8e5956849f1a1432dc7ae8e5ef4ea414.tar.bz2
mpiosh-7935e28c8e5956849f1a1432dc7ae8e5ef4ea414.zip
added function(s) to rename files on the player
Diffstat (limited to 'mpiosh/global.c')
-rw-r--r--mpiosh/global.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mpiosh/global.c b/mpiosh/global.c
index 2f10870..0047627 100644
--- a/mpiosh/global.c
+++ b/mpiosh/global.c
@@ -2,7 +2,7 @@
*
* Author: Andreas Buesching <crunchy@tzi.de>
*
- * $Id: global.c,v 1.10 2003/04/19 09:32:48 germeier Exp $
+ * $Id: global.c,v 1.11 2003/04/19 23:58:02 germeier Exp $
*
* Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de>
*
@@ -50,7 +50,7 @@ struct mpiosh_cmd_t commands[] = {
{ "ver", NULL, NULL,
" version of mpio package",
mpiosh_cmd_version, NULL },
- { "help", NULL, "[<command>]",
+ { "help", (char *[]){ "?", NULL }, "[<command>]",
" show information about known commands or just about <command>",
mpiosh_cmd_help, mpiosh_readline_comp_cmd },
{ "dir", (char *[]){ "ls", "ll", NULL }, NULL,
@@ -105,6 +105,9 @@ struct mpiosh_cmd_t commands[] = {
{ "switch", NULL, "<file1> <file2>",
" switches the order of two files",
mpiosh_cmd_switch, mpiosh_readline_comp_mpio_file },
+ { "rename", (char *[]){ "ren", NULL }, "<oldfilename> <newfilename>",
+ " renames a file on the current memory card",
+ mpiosh_cmd_rename, mpiosh_readline_comp_mpio_file },
{ "ldir", (char *[]){ "lls", NULL }, NULL,
" list local directory",
mpiosh_cmd_ldir, NULL },