[Toybox] [PATCH] stat: add --format synonym for -c.

enh enh at google.com
Sat Jan 12 10:34:35 PST 2019


Used in the AOSP x86 host build.
---
 toys/other/stat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/toys/other/stat.c b/toys/other/stat.c
index 7c2e337b..d828534c 100644
--- a/toys/other/stat.c
+++ b/toys/other/stat.c
@@ -2,7 +2,7 @@
  * Copyright 2012 <warior.linux at gmail.com>
  * Copyright 2013 <anand.sinha85 at gmail.com>

-USE_STAT(NEWTOY(stat, "<1c:fLt", TOYFLAG_BIN))
+USE_STAT(NEWTOY(stat, "<1c:(format)fLt", TOYFLAG_BIN))

 config STAT
   bool stat
-- 
2.20.1.97.g81188d93c3-goog
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-stat-add-format-synonym-for-c.patch
Type: text/x-patch
Size: 714 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20190112/acd0a68b/attachment-0002.bin>


More information about the Toybox mailing list