I love corosync-objctl, but the usage message is unhelpful at best.
This patch adds some text to the message so it actually tells you what
the options DO rather than just what they are :)
--
Chrissie
Index: corosync-objctl.c
===================================================================
--- corosync-objctl.c (revision 1677)
+++ corosync-objctl.c (working copy)
@@ -181,11 +181,12 @@
static int print_help(void)
{
printf("\n");
- printf ("usage: corosync-objctl object%ckey ...\n", SEPERATOR);
- printf (" corosync-objctl -c object%cchild_obj ...\n", SEPERATOR);
- printf (" corosync-objctl -d object%cchild_obj ...\n", SEPERATOR);
- printf (" corosync-objctl -w object%cchild_obj.key=value ...\n", SEPERATOR);
- printf (" corosync-objctl -a (print all objects)\n");
+ printf ("usage: corosync-objctl object%ckey ... Print an object\n", SEPERATOR);
+ printf (" corosync-objctl -c object%cchild_obj ... Create Object\n", SEPERATOR);
+ printf (" corosync-objctl -d object%cchild_obj ... Delete object\n", SEPERATOR);
+ printf (" corosync-objctl -w object%cchild_obj.key=value ... Create a key\n", SEPERATOR);
+ printf (" corosync-objctl -t object%cchild_obj ... Track changes\n", SEPERATOR);
+ printf (" corosync-objctl -a Print all objects\n");
printf("\n");
return 0;
}
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais