Example #1
0
void print_process_usage(void)
{
  printf (
      "%s: Command-line tool for the Share Library.\n"
      "\n"
      "Usage: %s [OPTION] [<app>]\n"
      "\n"
      "Options:\n"
      "\t--help\t\t\t\tShows program usage instructions.\n"
      "\t--version\t\t\tShows program version.\n"
      "\t-f\t\t\toutput appended data as the log grows\n"
/*
      "\t--nosync\t\t\tDo not write outside of the base directory.\n"
      "\t-b<dir>[=\$HOME/.share]\t\tSpecifies the base directory to use for sharefs.\n"
      "\t-d<host>[=localhost]\t\tSpecifies a network hostname.\n"
      "\t-p<port>\t\t\tSpecifies a ipv4/6 socket port number.\n"
      "\t-f<path>\t\t\tSpecifies a input file path.\n"
      "\t-o<path>\t\t\tSpecifies a output file path.\n"
*/
      "\n"
      "Visit 'https://github.com/neonatura/share' for more information.\n"
      "See 'man libshare' for additional manuals on the Share Library.\n"
      "Report bugs to <%s>.\n",
      get_libshare_title(), process_path, get_libshare_email());
}
Example #2
0
void print_process_usage(void)
{

  printf (
      "Usage: %s [OPTION] [<files>]\n"
      "List symbols from SEXE bytecode files."
      "\n"
      "Options:\n"
      "\t-h | --help\t\tShows program usage instructions.\n"
      "\t-v | --version\t\tShows program version.\n"
      "\t-V | --verbose\t\tShow verbose information.\n"
//      "\t-f | --fs <name>\tUse application \"<name>\"'s sharefs partition.\n"
      "\n"
      "Files:\n"
      "\tOne or more files which contain Lua source code or pre-compiled SEXE bytecode.\n"
      "\n"
      "Visit 'http://docs.sharelib.net/' for libshare API documentation.\n"
      "Report bugs to <%s>.\n",
      process_name, get_libshare_email());
}