From 9317c06e2d2081feb37ab36e626707f3a1205576 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 6 Mar 2012 20:48:27 -0600 Subject: Comment and whitespace tweaks. --- toys/cp.c | 2 +- toys/free.c | 1 + toys/setsid.c | 3 +-- toys/whoami.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'toys') diff --git a/toys/cp.c b/toys/cp.c index 236c00f7..c3153e0a 100644 --- a/toys/cp.c +++ b/toys/cp.c @@ -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 * - * 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" -- cgit v1.2.3