mirror of
https://github.com/urbit/shrub.git
synced 2024-11-28 22:33:06 +03:00
commit
ad29ee53aa
60
vere/main.c
60
vere/main.c
@ -272,42 +272,54 @@ _main_getopt(c3_i argc, c3_c** argv)
|
||||
static void
|
||||
u3_ve_usage(c3_i argc, c3_c** argv)
|
||||
{
|
||||
#if 0
|
||||
c3_c *use_c[] = {"Usage: %s [options...] computer\n",
|
||||
"-c pier Create a new urbit in pier/\n",
|
||||
"-w name Immediately upgrade to ~name\n",
|
||||
"-t ticket Use ~ticket automatically\n",
|
||||
"-I galaxy Start as ~galaxy\n",
|
||||
c3_c *use_c[] = {
|
||||
"Urbit: a personal server operating function\n",
|
||||
"https://urbit.org\n",
|
||||
"Version " URBIT_VERSION "\n",
|
||||
"\n",
|
||||
"Usage: %s [options...] ship_name\n",
|
||||
"where ship_name is a @p phonetic representation of an urbit address\n",
|
||||
"without the leading '~', and options is some subset of the following:\n",
|
||||
"\n",
|
||||
"-A dir Use dir for initial galaxy sync\n",
|
||||
"-F Fake keys\n",
|
||||
"-L Local-only network\n",
|
||||
"-B pill Bootstrap from this pill\n",
|
||||
"-n host Set unix hostname\n",
|
||||
"-p ames_port Set the HTTP port to bind to\n",
|
||||
"-v Verbose\n",
|
||||
"-q Quiet\n",
|
||||
"-D Recompute from events\n",
|
||||
"-P Profiling\n",
|
||||
"-b Batch create\n",
|
||||
"-B pill Bootstrap from this pill\n",
|
||||
"-c pier Create a new urbit in pier/\n",
|
||||
"-d Daemon mode\n",
|
||||
"-D Recompute from events\n",
|
||||
"-F Fake keys\n",
|
||||
"-f Fuzz testing\n",
|
||||
"-g Set GC flag\n",
|
||||
"-x Exit immediately\n",
|
||||
"-r host Initial peer address\n",
|
||||
"-I galaxy Start as ~galaxy\n",
|
||||
"-k stage Start at Hoon kernel version stage\n",
|
||||
"-L Local-only network\n",
|
||||
"-l port Initial peer port\n",
|
||||
"-M Memory madness\n",
|
||||
"-f Fuzz testing\n",
|
||||
"-k stage Start at Hoon kernel version stage\n",
|
||||
"-n host Set unix hostname\n",
|
||||
"-p ames_port Set the HTTP port to bind to\n",
|
||||
"-P Profiling\n",
|
||||
"-q Quiet\n",
|
||||
"-r host Initial peer address\n",
|
||||
"-R Report urbit build info\n",
|
||||
"-Xwtf Skip last event\n"};
|
||||
#else
|
||||
c3_c *use_c[] = {
|
||||
"simple usage: \n",
|
||||
"-t ticket Use ~ticket automatically\n",
|
||||
"-v Verbose\n",
|
||||
"-w name Immediately upgrade to ~name\n",
|
||||
"-x Exit immediately\n",
|
||||
"-Xwtf Skip last event\n",
|
||||
"\n",
|
||||
"Development Usage:\n",
|
||||
" To create a development ship, use a fakezod:\n",
|
||||
" %s -FI zod -A /path/to/arvo/folder -B /path/to/pill -c zod\n",
|
||||
"\n",
|
||||
" For more information about developing on urbit, see:\n",
|
||||
" https://github.com/urbit/urbit/blob/master/CONTRIBUTING.md\n",
|
||||
"\n",
|
||||
"Simple Usage: \n",
|
||||
" %s -c <mycomet> to create a comet (anonymous urbit)\n",
|
||||
" %s -w <myplanet> -t <myticket> if you have a ticket\n",
|
||||
" %s <myplanet or mycomet> to restart an existing urbit\n",
|
||||
0
|
||||
};
|
||||
#endif
|
||||
|
||||
c3_i i;
|
||||
for ( i=0; use_c[i]; i++ ) {
|
||||
|
Loading…
Reference in New Issue
Block a user