aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrunchy <crunchy>2002-10-14 12:52:01 +0000
committercrunchy <crunchy>2002-10-14 12:52:01 +0000
commit265351f4c765782ee942d88c5ee6e9abbcc4c172 (patch)
tree37a3b462a00a1ff266e46cad68bfd16f23d5e6fd
parente1e7fa0c98f01b3d2a4bd7a4a28808e81e0987ec (diff)
downloadmpiosh-265351f4c765782ee942d88c5ee6e9abbcc4c172.tar.gz
mpiosh-265351f4c765782ee942d88c5ee6e9abbcc4c172.tar.bz2
mpiosh-265351f4c765782ee942d88c5ee6e9abbcc4c172.zip
reactivated switch command without any functionality
-rw-r--r--mpiosh/global.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mpiosh/global.c b/mpiosh/global.c
index 832ac8b..8a71c90 100644
--- a/mpiosh/global.c
+++ b/mpiosh/global.c
@@ -2,7 +2,7 @@
*
* Author: Andreas Buesching <crunchy@tzi.de>
*
- * $Id: global.c,v 1.1 2002/10/12 20:06:22 crunchy Exp $
+ * $Id: global.c,v 1.2 2002/10/14 12:52:01 crunchy Exp $
*
* Copyright (C) 2001 Andreas Büsching <crunchy@tzi.de>
*
@@ -86,9 +86,9 @@ mpiosh_cmd_t commands[] = {
{ "format", NULL, NULL,
" format current memory card",
mpiosh_cmd_format, NULL },
-/* { "switch", "<file1> <file2>", */
-/* "switches the order of two files", */
-/* mpiosh_cmd_switch }, */
+ { "switch", NULL, "<file1> <file2>",
+ " switches the order of two files",
+ mpiosh_cmd_switch, mpiosh_readline_comp_mpio_file },
{ "ldir", (char *[]){ "lls", NULL }, NULL,
" list local directory",
mpiosh_cmd_ldir, NULL },