diff options
author | crunchy <crunchy> | 2002-10-18 08:39:23 +0000 |
---|---|---|
committer | crunchy <crunchy> | 2002-10-18 08:39:23 +0000 |
commit | 9d55bb2f692d4b6fab43b6f1b18185ecdcc05a1c (patch) | |
tree | de8009d27051003207fa995679cf6dfde2009d2c /mpiosh/global.c | |
parent | 723b01c9719b896f35df94bea44fb186d7f9e408 (diff) | |
download | mpiosh-9d55bb2f692d4b6fab43b6f1b18185ecdcc05a1c.tar.gz mpiosh-9d55bb2f692d4b6fab43b6f1b18185ecdcc05a1c.tar.bz2 mpiosh-9d55bb2f692d4b6fab43b6f1b18185ecdcc05a1c.zip |
add command config; no functionality at the moment
Diffstat (limited to 'mpiosh/global.c')
-rw-r--r-- | mpiosh/global.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/mpiosh/global.c b/mpiosh/global.c index 8a71c90..7fe21b6 100644 --- a/mpiosh/global.c +++ b/mpiosh/global.c @@ -2,7 +2,7 @@ * * Author: Andreas Buesching <crunchy@tzi.de> * - * $Id: global.c,v 1.2 2002/10/14 12:52:01 crunchy Exp $ + * $Id: global.c,v 1.3 2002/10/18 08:39:23 crunchy Exp $ * * Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de> * @@ -72,7 +72,7 @@ mpiosh_cmd_t commands[] = { { "mput", (char *[]){ "put", NULL }, "list of filenames and <regexp>", " write all local files matching the regular expression\n" " to the selected memory card", - mpiosh_cmd_mput, mpiosh_readline_comp_mpio_file }, + mpiosh_cmd_mput, NULL }, { "mdel", (char *[]){ "rm", "del", NULL }, "<regexp>", " deletes all files matching the regular expression\n" " from the selected memory card", @@ -105,6 +105,12 @@ mpiosh_cmd_t commands[] = { " dump FAT, directory, spare area and the first 0x100 of the\n" " selected memory card", mpiosh_cmd_dump_mem, NULL }, + { "config", (char *[]) { "conf", NULL }, "-w -r -s", + " give access to the configuration file of the MPIO player\n" + " -w write the configuration back to the MPIO player\n" + " -r read the configuration file and dumps it on the local disc\n" + " -s show the current configuration", + mpiosh_cmd_config, mpiosh_readline_comp_config }, { NULL, NULL, NULL, NULL, NULL, NULL } }; |