summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Rubiolo2012-07-02 10:03:04 (EDT)
committerEugene Tarassov2012-07-03 18:48:32 (EDT)
commit9e177ad8fbea1767bcd722581b5c788b8f09bea2 (patch)
tree0102713f6b0d9797b2dc14c1b0cc0d03d881c9a9
parentf67ab4ee9698c2dbc3b13fba9dc95253205964b4 (diff)
downloadorg.eclipse.tcf.agent-9e177ad8fbea1767bcd722581b5c788b8f09bea2.zip
org.eclipse.tcf.agent-9e177ad8fbea1767bcd722581b5c788b8f09bea2.tar.gz
org.eclipse.tcf.agent-9e177ad8fbea1767bcd722581b5c788b8f09bea2.tar.bz2
Add -h option support to TCF agent
The small help usage is now displayed when the option is specified.
-rw-r--r--agent/tcf/main/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/agent/tcf/main/main.c b/agent/tcf/main/main.c
index 6e805f0..ec363f7 100644
--- a/agent/tcf/main/main.c
+++ b/agent/tcf/main/main.c
@@ -221,6 +221,10 @@ int main(int argc, char ** argv) {
print_server_properties = 1;
break;
+ case 'h':
+ show_help();
+ exit(0);
+
case 'I':
case 'l':
case 'L':