OSDN Git Service

Add RFC link to the examples.
authorRob Landley <rob@landley.net>
Sat, 17 Feb 2018 19:03:33 +0000 (13:03 -0600)
committerRob Landley <rob@landley.net>
Sat, 17 Feb 2018 19:03:33 +0000 (13:03 -0600)
toys/example/hello.c
toys/example/skeleton.c

index 3b7d27b..4cd5d13 100644 (file)
@@ -4,6 +4,7 @@
  *
  * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/
  * See http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html
+ * See https://www.ietf.org/rfc/rfc3.txt
 
 USE_HELLO(NEWTOY(hello, 0, TOYFLAG_USR|TOYFLAG_BIN))
 
@@ -11,9 +12,9 @@ config HELLO
   bool "hello"
   default n
   help
-    usage: hello [-s]
+    usage: hello
 
-    A hello world program.  You don't need this.
+    A hello world program.
 
     Mostly used as a simple template for adding new commands.
     Occasionally nice to smoketest kernel booting via "init=/usr/bin/hello".
index ee67b58..666e804 100644 (file)
@@ -5,6 +5,7 @@
  *
  * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/
  * See http://refspecs.linuxfoundation.org/LSB_4.1.0/LSB-Core-generic/LSB-Core-generic/cmdbehav.html
+ * See https://www.ietf.org/rfc/rfc3.txt
 
 // Accept many different kinds of command line argument (see top of lib/args.c)
 // Demonstrate two commands in the same file (see www/documentation.html)