nc: show help text on bad parameters
[oweals/busybox.git] / docs / new-applet-HOWTO.txt
index e7c3077bd35f8e6fb716f412bdeddbce4ccfdb63..2f237564d5680c846cb70ff8ff3caa5cdf864a8a 100644 (file)
@@ -8,8 +8,8 @@ Matt Kraai - initial writeup
 Mark Whitley - the remix
 Thomas Lundquist - Trying to keep it updated.
 
-When doing this you should consider using the latest svn trunk.
-This is a good thing if you plan to getting it commited into mainline.
+When doing this you should consider using the latest git HEAD.
+This is a good thing if you plan to getting it committed into mainline.
 
 Initial Write
 -------------
@@ -36,7 +36,7 @@ For a new applet mu, here is the code that would go in mu.c:
  *
  * Copyright (C) [YEAR] by [YOUR NAME] <YOUR EMAIL>
  *
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2, see file LICENSE in this source tree.
  */
 
 #include "libbb.h"
@@ -107,7 +107,7 @@ the function declaration. If not, add it somewhere anyway, with or without
 ifdefs to include or not.
 
 You can look at libbb/Config.in and try to find out if the function is
-tuneable and add it there if it is.
+tunable and add it there if it is.
 
 
 Placement / Directory
@@ -169,12 +169,13 @@ Be sure to read the top of applets.h before adding your applet.
 The Grand Announcement
 ----------------------
 
-Then create a diff by adding the new files with svn (remember your libbb files)
-       svn add <where you put it>/mu.c
+Then create a diff by adding the new files to git (remember your libbb files)
+       git add <where you put it>/mu.c
 eventually also:
-       svn add libbb/function.c
+       git add libbb/function.c
 then
-       svn diff
+       git commit
+       git format-patch HEAD^
 and send it to the mailing list:
        busybox@busybox.net
        http://busybox.net/mailman/listinfo/busybox