ACK on all of them (3rd one is already fixed to support both %x and %u nodeid). Honza Fabio M. Di Nitto napsal(a): > From: "Fabio M. Di Nitto" <fdinitto@xxxxxxxxxx> > > default run will show status instead of help text > > Signed-off-by: Fabio M. Di Nitto <fdinitto@xxxxxxxxxx> > --- > tools/corosync-quorumtool.c | 7 +------ > 1 files changed, 1 insertions(+), 6 deletions(-) > > diff --git a/tools/corosync-quorumtool.c b/tools/corosync-quorumtool.c > index 773bb44..f413402 100644 > --- a/tools/corosync-quorumtool.c > +++ b/tools/corosync-quorumtool.c > @@ -684,12 +684,7 @@ int main (int argc, char *argv[]) { > uint32_t nodeid_set = 0; > nodeid_format_t nodeid_format = NODEID_FORMAT_DECIMAL; > name_format_t address_format = ADDRESS_FORMAT_NAME; > - command_t command_opt = CMD_UNKNOWN; > - > - if (argc == 1) { > - show_usage (argv[0]); > - exit(0); > - } > + command_t command_opt = CMD_SHOWSTATUS; > > if (init_all()) { > close_all(); > _______________________________________________ discuss mailing list discuss@xxxxxxxxxxxx http://lists.corosync.org/mailman/listinfo/discuss