aboutsummaryrefslogtreecommitdiff
path: root/android/device/generated/help.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2020-04-01 21:36:16 -0700
committerElliott Hughes <enh@google.com>2020-04-01 21:41:57 -0700
commit9d5ef4f7f89bd3416b32523bb4ce52281315b10c (patch)
tree5ef66dfc0649ba59cf04faabb61c88fa2ed24cec /android/device/generated/help.h
parent7af0f2f5500bf7c528170dba2e7b8629b219e75b (diff)
parent85b02bddc0389487eaa8936de38441a1f95e08ea (diff)
downloadtoybox-9d5ef4f7f89bd3416b32523bb4ce52281315b10c.tar.gz
Merge remote-tracking branch 'toybox/master' into HEAD
Also build rtcwake for the device. Bug: http://b/152042947 Test: adb shell rtcwake -u -m on -s 2 -v Test: treehugger Change-Id: Icec631ca0d31b623f9e177790dc18a9c1a498315
Diffstat (limited to 'android/device/generated/help.h')
-rw-r--r--android/device/generated/help.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/android/device/generated/help.h b/android/device/generated/help.h
index b196253a..461559b3 100644
--- a/android/device/generated/help.h
+++ b/android/device/generated/help.h
@@ -358,6 +358,8 @@
#define HELP_sh "usage: sh [-c command] [script]\n\nCommand shell. Runs a shell script, or reads input interactively\nand responds to it.\n\n-c command line to execute\n-i interactive mode (default when STDIN is a tty)"
+#define HELP_rtcwake "usage: rtcwake [-aluv] [-d FILE] [-m MODE] [-s SECS] [-t UNIX]\n\nEnter the given sleep state until the given time.\n\n-a RTC uses time specified in /etc/adjtime\n-d FILE Device to use (default /dev/rtc)\n-l RTC uses local time\n-m Mode (--list-modes to see those supported by your kernel):\n disable Cancel current alarm\n freeze Freeze processes, idle processors\n disk S4: suspend to disk\n mem S3: suspend to RAM\n no Don't suspend, just set wakeup time\n off S5: power off\n on Don't suspend, poll RTC for alarm\n show Don't suspend, just show current alarm\n standby S1: default\n-s SECS Wake SECS seconds from now\n-t UNIX Wake UNIX seconds from epoch\n-u RTC uses UTC\n-v Verbose"
+
#define HELP_route "usage: route [-ne] [-A [46]] [add|del TARGET [OPTIONS]]\n\nDisplay, add or delete network routes in the \"Forwarding Information Base\".\n\n-n Show numerical addresses (no DNS lookups)\n-e display netstat fields\n\nRouting means sending packets out a network interface to an address.\nThe kernel can tell where to send packets one hop away by examining each\ninterface's address and netmask, so the most common use of this command\nis to identify a \"gateway\" that forwards other traffic.\n\nAssigning an address to an interface automatically creates an appropriate\nnetwork route (\"ifconfig eth0 10.0.2.15/8\" does \"route add 10.0.0.0/8 eth0\"\nfor you), although some devices (such as loopback) won't show it in the\ntable. For machines more than one hop away, you need to specify a gateway\n(ala \"route add default gw 10.0.2.2\").\n\nThe address \"default\" is a wildcard address (0.0.0.0/0) matching all\npackets without a more specific route.\n\nAvailable OPTIONS include:\nreject - blocking route (force match failure)\ndev NAME - force packets out this interface (ala \"eth0\")\nnetmask - old way of saying things like ADDR/24\ngw ADDR - forward packets to gateway ADDR"
#define HELP_readelf "usage: readelf [-adehlnSs] [-p SECTION] [-x SECTION] [file...]\n\nDisplays information about ELF files.\n\n-a Equivalent to -dhlnSs\n-d Show dynamic section\n-e Headers (equivalent to -hlS)\n-h Show ELF header\n-l Show program headers\n-n Show notes\n-p S Dump strings found in named/numbered section\n-S Show section headers\n-s Show symbol tables (.dynsym and .symtab)\n-x S Hex dump of named/numbered section\n\n--dyn-syms Show just .dynsym symbol table"