Android-x86
Fork
Faire un don

  • R/O
  • HTTP
  • SSH
  • HTTPS

external-toybox: Commit

external/toybox


Commit MetaInfo

Révisionafb4bb9e5060e02f8bf12fdf9e71eb46c73d789a (tree)
l'heure2018-02-18 04:03:33
AuteurRob Landley <rob@land...>
CommiterRob Landley

Message de Log

Add RFC link to the examples.

Change Summary

Modification

--- a/toys/example/hello.c
+++ b/toys/example/hello.c
@@ -4,6 +4,7 @@
44 *
55 * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/
66 * See http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html
7+ * See https://www.ietf.org/rfc/rfc3.txt
78
89 USE_HELLO(NEWTOY(hello, 0, TOYFLAG_USR|TOYFLAG_BIN))
910
@@ -11,9 +12,9 @@ config HELLO
1112 bool "hello"
1213 default n
1314 help
14- usage: hello [-s]
15+ usage: hello
1516
16- A hello world program. You don't need this.
17+ A hello world program.
1718
1819 Mostly used as a simple template for adding new commands.
1920 Occasionally nice to smoketest kernel booting via "init=/usr/bin/hello".
--- a/toys/example/skeleton.c
+++ b/toys/example/skeleton.c
@@ -5,6 +5,7 @@
55 *
66 * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/
77 * See http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html
8+ * See https://www.ietf.org/rfc/rfc3.txt
89
910 // Accept many different kinds of command line argument (see top of lib/args.c)
1011 // Demonstrate two commands in the same file (see www/documentation.html)
Afficher sur ancien navigateur de dépôt.