OSDN Git Service

"printf %x 64" wasn't working right on 32 bit because a variable type was wrong.
[android-x86/external-toybox.git] / toys / posix / tty.c
index 578c9af..1694d84 100644 (file)
@@ -10,12 +10,14 @@ config TTY
   bool "tty"
   default y
   help
+    usage: tty [-s]
+
     Show filename of terminal connected to stdin.
 
     Prints "not a tty" and exits with nonzero status if no terminal
     is connected to stdin.
 
-    -s silent mode
+    -s silent, exit code only
 */
 
 #include "toys.h"