mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-02 07:06:41 +03:00
Verbose command-line help
This commit is contained in:
parent
4e397dd1b9
commit
67f8cae687
26
vere/main.c
26
vere/main.c
@ -272,8 +272,15 @@ _main_getopt(c3_i argc, c3_c** argv)
|
|||||||
static void
|
static void
|
||||||
u3_ve_usage(c3_i argc, c3_c** argv)
|
u3_ve_usage(c3_i argc, c3_c** argv)
|
||||||
{
|
{
|
||||||
#if 0
|
c3_c *use_c[] = {
|
||||||
c3_c *use_c[] = {"Usage: %s [options...] computer\n",
|
"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",
|
||||||
"-c pier Create a new urbit in pier/\n",
|
"-c pier Create a new urbit in pier/\n",
|
||||||
"-w name Immediately upgrade to ~name\n",
|
"-w name Immediately upgrade to ~name\n",
|
||||||
"-t ticket Use ~ticket automatically\n",
|
"-t ticket Use ~ticket automatically\n",
|
||||||
@ -298,16 +305,21 @@ u3_ve_usage(c3_i argc, c3_c** argv)
|
|||||||
"-f Fuzz testing\n",
|
"-f Fuzz testing\n",
|
||||||
"-k stage Start at Hoon kernel version stage\n",
|
"-k stage Start at Hoon kernel version stage\n",
|
||||||
"-R Report urbit build info\n",
|
"-R Report urbit build info\n",
|
||||||
"-Xwtf Skip last event\n"};
|
"-Xwtf Skip last event\n",
|
||||||
#else
|
"\n",
|
||||||
c3_c *use_c[] = {
|
"Development Usage:\n",
|
||||||
"simple 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 -c <mycomet> to create a comet (anonymous urbit)\n",
|
||||||
" %s -w <myplanet> -t <myticket> if you have a ticket\n",
|
" %s -w <myplanet> -t <myticket> if you have a ticket\n",
|
||||||
" %s <myplanet or mycomet> to restart an existing urbit\n",
|
" %s <myplanet or mycomet> to restart an existing urbit\n",
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
c3_i i;
|
c3_i i;
|
||||||
for ( i=0; use_c[i]; i++ ) {
|
for ( i=0; use_c[i]; i++ ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user