summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/cmd_open.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/cmd_open.c b/cmd/cmd_open.c
index bbdfc48..6ecfa8e 100644
--- a/cmd/cmd_open.c
+++ b/cmd/cmd_open.c
@@ -21,7 +21,7 @@ int c_open( cmd_arg_t *arg )
if ( argc != 1 )
{
- printf("Neeed one argument\n");
+ printf("Neeed one argument %d\n",argc);
return -1;
}
@@ -37,4 +37,10 @@ int c_open( cmd_arg_t *arg )
return 0;
+}
+
+int h_open( cmd_arg_t *arg )
+{
+ printf("[FILENAME] - open file");
+ return 0;
} \ No newline at end of file