From 363170c432f3c3e34da46abd51ee9bc221806f6f Mon Sep 17 00:00:00 2001 From: FreeArtMan Date: Mon, 19 Aug 2019 17:58:35 +0100 Subject: Added help info --- cmd/cmd_open.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/cmd_open.c') diff --git a/cmd/cmd_open.c b/cmd/cmd_open.c index 6ecfa8e..a4740c6 100644 --- a/cmd/cmd_open.c +++ b/cmd/cmd_open.c @@ -19,6 +19,8 @@ int c_open( cmd_arg_t *arg ) char *fname = NULL; int fret = 0; + printf("%s\n",argv[0]); + if ( argc != 1 ) { printf("Neeed one argument %d\n",argc); @@ -27,6 +29,8 @@ int c_open( cmd_arg_t *arg ) fname = argv[0]; + printf("%s\n",fname); + fret = file_open_fn( g_file, fname, g_flags ); //!if failure fields could be non empty inside struct if ( fret < 0 ) { -- cgit v1.2.3