From 27e6d335ea39434418ee0b9283c209d89cc2e559 Mon Sep 17 00:00:00 2001 From: Daniel Borkmann Date: Sat, 30 Apr 2011 12:24:47 +0200 Subject: [PATCH] added help description --- usr/fbctl.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/usr/fbctl.c b/usr/fbctl.c index 6961c1f..f5e3d28 100644 --- a/usr/fbctl.c +++ b/usr/fbctl.c @@ -118,11 +118,20 @@ static void usage(void) printf(" rm - remove fblock from stack if unbound\n"); printf(" bind - bind two fblocks\n"); printf(" unbind - unbind two fblocks\n"); - printf(" xchg - exchange fb1 with fb2\n"); - printf(" note: name1 and name2 then \n"); - printf(" point to the same fblock\n"); - printf(" subscribe - subscribe fb2 to fb1 to rcv events\n"); - printf(" unsubscribe - unsubscribe fb2 from fb1\n"); + printf(" replace - exchange fb1 with fb2 (*)\n"); + printf(" replace_drop - exchange fb1 with fb2 (*)\n"); + printf(" subscribe - subscribe fb2 to fb1 (+)\n"); + printf(" unsubscribe - unsubscribe fb2 from fb1 (+)\n"); + printf("\n"); + printf("Note (*):\n"); + printf(" (*) 'replace' drops functional block and replaces\n"); + printf(" it with functional block where and\n"); + printf(" now point to the same functional block. If\n"); + printf(" both are of the same type, private data will be\n"); + printf(" transferred to . If this is unwanted, use\n"); + printf(" 'replace_drop'.\n"); + printf(" (+) 'subscribe' is used to receive events from other\n"); + printf(" functional blocks.\n"); printf("\n"); printf("Please report bugs to \n"); printf("Copyright (C) 2011 Daniel Borkmann\n"); -- 2.11.4.GIT