Mercurial > hg > toybox
comparison 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 |
comparison
equal
deleted
inserted
replaced
1071:e7454bb7af5a | 1072:7a45b9b54d3d |
---|---|
2 * | 2 * |
3 * Copyright 2008 Rob Landley <rob@landley.net> | 3 * Copyright 2008 Rob Landley <rob@landley.net> |
4 * | 4 * |
5 * See http://opengroup.org/onlinepubs/9699919799/utilities/uname.html | 5 * See http://opengroup.org/onlinepubs/9699919799/utilities/uname.html |
6 | 6 |
7 USE_UNAME(NEWTOY(uname, "amvrns", TOYFLAG_BIN)) | 7 USE_UNAME(NEWTOY(uname, "oamvrns[+os]", TOYFLAG_BIN)) |
8 | 8 |
9 config UNAME | 9 config UNAME |
10 bool "uname" | 10 bool "uname" |
11 default y | 11 default y |
12 help | 12 help |