Logo Search packages:      
Sourcecode: fence-agents version File versions  Download package

static void show_usage ( char *  pname ) [static]

Show usage of application.

Parameters:
pnameName of program (usually basename of argv[0])

Definition at line 285 of file fence_nss_wrapper.c.

Referenced by main().

                                    {
  printf("usage: %s [options] hostname port\n", pname);
  printf("   -4             Force to use IPv4\n");
  printf("   -6             Force to use IPv6\n");
  printf("   -r             Use RAW connection (don't convert \\r and \\n characters)\n");
  printf("   -z             Don't use SSL connection (use pure socket)\n");
  printf("   -h             Show this help\n");
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index