Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 378372 - [PATCH] TCF logger (tcflog) is missing interactive help
Summary: [PATCH] TCF logger (tcflog) is missing interactive help
Status: RESOLVED FIXED
Alias: None
Product: TCF
Classification: Tools
Component: Agent (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 1.0.0   Edit
Assignee: Project Inbox CLA
QA Contact: Eugene Tarassov CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 09:53 EDT by Vincent Rubiolo CLA
Modified: 2013-06-05 05:18 EDT (History)
1 user (show)

See Also:


Attachments
Patch fixing the issue. (2.72 KB, patch)
2012-05-03 09:54 EDT, Vincent Rubiolo CLA
no flags Details | Diff
Add interactive help text to tcflog (2.67 KB, patch)
2012-05-03 10:34 EDT, Vincent Rubiolo CLA
mober.at+eclipse: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Rubiolo CLA 2012-05-03 09:53:24 EDT
Build Identifier: 

The TCF logger (tcflog) is missing interactive help. That does not help when attempting to use it.

Attached is a small patch on top of today's HEAD  (ed3813f9042f13f1de0a2d2e525b245fa1e22d12) which improves the situation.

I have taken the opportunity to add a small example text as well, to improve user experience.

The patch also adds -h option support for beginners such as me :)

Filing as normal since I don't think that looking at the code is a suitable workaround.

Reproducible: Always

Steps to Reproduce:
1. Launch tcflog with -h after building HEAD.
2. An error is reported but no indication as to what went wrong.
Comment 1 Vincent Rubiolo CLA 2012-05-03 09:54:56 EDT
Created attachment 214998 [details]
Patch fixing the issue.
Comment 2 Vincent Rubiolo CLA 2012-05-03 10:33:25 EDT
First version of the patch broke argument parsing. Attached is a V2 which does not have the problem.
Comment 3 Vincent Rubiolo CLA 2012-05-03 10:34:06 EDT
Created attachment 215007 [details]
Add interactive help text to tcflog
Comment 4 Eugene Tarassov CLA 2012-05-03 17:18:42 EDT
I have committed the patch.
Thanks!
Comment 5 Martin Oberhuber CLA 2013-05-24 18:45:11 EDT
Comment on attachment 215007 [details]
Add interactive help text to tcflog

iplog- since git has the author:

http://git.eclipse.org/c/tcf/org.eclipse.tcf.agent.git/commit/?id=71fb1c346c40275a799ffe45303fedfe61df6896