diff toys/posix/uname.c @ 1072:7a45b9b54d3d draft

Tweak args (yank old + that never worked, rename | to +), and add uname -o as a synonym for -s.
author Rob Landley <rob@landley.net>
date Sat, 21 Sep 2013 13:46:44 -0500
parents b89ab13436fa
children
line wrap: on
line diff
--- a/toys/posix/uname.c	Sat Sep 21 12:24:04 2013 -0500
+++ b/toys/posix/uname.c	Sat Sep 21 13:46:44 2013 -0500
@@ -4,7 +4,7 @@
  *
  * See http://opengroup.org/onlinepubs/9699919799/utilities/uname.html
 
-USE_UNAME(NEWTOY(uname, "amvrns", TOYFLAG_BIN))
+USE_UNAME(NEWTOY(uname, "oamvrns[+os]", TOYFLAG_BIN))
 
 config UNAME
   bool "uname"