Hi Rob,

 As mentioned in the docs, *toys.argv* contains the original (raw) command
line options.
But in *main()* function in main.c you are trimming the argv[0] to only the
command name.

I have an use case, where the entire argv[0] is required. It is in the case
when I want to launch the
*shell* with '-' in front, to denote it as login shell. Since argv[0] is
trimmed, I do not get the complete
argument value at my command_main() function.

What are your plans of handling this case in *shell *implementation?

regards,
Ashwini Kumar
_______________________________________________
Toybox mailing list
[email protected]
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to