diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-08-19 17:58:35 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-08-19 17:58:35 +0100 |
commit | 363170c432f3c3e34da46abd51ee9bc221806f6f (patch) | |
tree | 75ea16a18642172c539e1c2bac62df8a094e73d6 /cmd/cmd_open.c | |
parent | e7050e232d8e1350620e368b9d01f14a1a82a89b (diff) | |
download | ihe-363170c432f3c3e34da46abd51ee9bc221806f6f.tar.gz ihe-363170c432f3c3e34da46abd51ee9bc221806f6f.zip |
Added help info
Diffstat (limited to 'cmd/cmd_open.c')
-rw-r--r-- | cmd/cmd_open.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 ) { |