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
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
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