diff options
author | Rob Landley <rob@landley.net> | 2012-03-06 20:48:27 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-03-06 20:48:27 -0600 |
commit | 9317c06e2d2081feb37ab36e626707f3a1205576 (patch) | |
tree | 879d781341a4018846fa8b3bed1d722a8fa4010a /toys | |
parent | 688c74534227e3241a83e41b1f14a3f6b700f475 (diff) | |
download | toybox-9317c06e2d2081feb37ab36e626707f3a1205576.tar.gz |
Comment and whitespace tweaks.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/cp.c | 2 | ||||
-rw-r--r-- | toys/free.c | 1 | ||||
-rw-r--r-- | toys/setsid.c | 3 | ||||
-rw-r--r-- | toys/whoami.c | 2 |
4 files changed, 4 insertions, 4 deletions
@@ -180,7 +180,7 @@ void cp_main(void) char *src = toys.optargs[i]; char *dst; - // Skip src==dest (should check inodes to catch "cp blah ./blah"). + // Skip src==dest (TODO check inodes to catch "cp blah ./blah"). if (!strcmp(src, TT.destname)) continue; diff --git a/toys/free.c b/toys/free.c index 229e5e97..99dca86d 100644 --- a/toys/free.c +++ b/toys/free.c @@ -16,6 +16,7 @@ config FREE Display the total, free and used amount of physical memory and swap space. + -bkmg Output in bytes (default), KB, MB or GB */ diff --git a/toys/setsid.c b/toys/setsid.c index 949f392a..1b98315c 100644 --- a/toys/setsid.c +++ b/toys/setsid.c @@ -4,8 +4,7 @@ * * Copyright 2006 Rob Landley <rob@landley.net> * - * Not in SUSv3. - * See http://www.opengroup.org/onlinepubs/009695399/utilities/ + * Not in SUSv4. USE_SETSID(NEWTOY(setsid, "^<1t", TOYFLAG_USR|TOYFLAG_BIN)) diff --git a/toys/whoami.c b/toys/whoami.c index a6415403..6d9233d1 100644 --- a/toys/whoami.c +++ b/toys/whoami.c @@ -13,7 +13,7 @@ config WHOAMI help usage: whoami - Print effective user id. + Print effective user name. */ #include "toys.h" |