Re: [devel] [PATCH 1 of 1] ntftool: ntfread and ntfsubscribe do not check invalid options [#1355]

2015-05-20 Thread praveen malviya
I think one minor change is still required as: `ntfread g` gives: Invalid non-option: g Try 'ntfread -h' for more information. But `ntfread -g` prints whole usage also. Please confirm. Thanks Praveen On 05-May-15 11:38 AM, Vu Minh Nguyen wrote: osaf/tools/safntf/ntfread/ntfread.c

Re: [devel] [PATCH 1 of 1] ntftool: ntfread and ntfsubscribe do not check invalid options [#1355]

2015-05-20 Thread Vu Minh Nguyen
Hi Praveen, Thanks for your comments. But `ntfread -g` prints whole usage also. I will update the code to make it show following format for invalid options. E.g: # ntfread -g ntfread: invalid option -- 'g' Try 'ntfread -h' for more information. Please let me know your opinions. Regards, Vu

[devel] [PATCH 1 of 1] ntftool: ntfread and ntfsubscribe do not check invalid options [#1355]

2015-05-05 Thread Vu Minh Nguyen
osaf/tools/safntf/ntfread/ntfread.c | 7 +++ osaf/tools/safntf/ntfsubscribe/ntfsubscribe.c | 13 - 2 files changed, 19 insertions(+), 1 deletions(-) ntfread/ntfsubscribe do not check invalid options. Add code to show invalid options to user. diff --git