[Toybox] [PATCH] id help username parameter

enh enh at google.com
Thu Mar 19 21:15:50 PDT 2015


+1, though i think the style is:

diff --git a/toys/posix/id.c b/toys/posix/id.c
index 353aa04..2dfc91d 100644
--- a/toys/posix/id.c
+++ b/toys/posix/id.c
@@ -15,9 +15,9 @@ config ID
   bool "id"
   default y
   help
-    usage: id [-nGgru]
+    usage: id [-nGgru] [USER]

-    Print user and group ID.
+    Print user ID and group ID of given user (or current user).

     -n print names instead of numeric IDs (to be used with -Ggu)
     -G Show only the group IDs



On Thu, Mar 19, 2015 at 6:43 PM, hhm <heehooman at gmail.com> wrote:

> --- a/toys/posix/id.c
> +++ b/toys/posix/id.c
> @@ -15,7 +15,7 @@ config ID
>    bool "id"
>       default y
>              help
>                  -    usage: id [-nGgru]
>                  +    usage: id [-nGgru] [user]
>
>                        Print user and group ID.
> _______________________________________________
> Toybox mailing list
> Toybox at lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>



-- 
Elliott Hughes - http://who/enh - http://jessies.org/~enh/
Android native code/tools questions? Mail me/drop by/add me as a reviewer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20150319/10da6e04/attachment-0004.htm>


More information about the Toybox mailing list