aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
committerMatt Kraai <kraai@debian.org>2000-07-16 20:57:15 +0000
commitbf181b9338152759fd56c8009e9a962a84808e7c (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /tty.c
parent3bd8bd89ee9d0b65bf279e1ecad826a5f2f0a217 (diff)
downloadbusybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.gz
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.tar.bz2
busybox-w32-bf181b9338152759fd56c8009e9a962a84808e7c.zip
Extract usage information into a separate file.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/tty.c b/tty.c
index f3c7fb74f..bbc051f6b 100644
--- a/tty.c
+++ b/tty.c
@@ -24,14 +24,6 @@
24#include <stdio.h> 24#include <stdio.h>
25#include <sys/types.h> 25#include <sys/types.h>
26 26
27static const char tty_usage[] = "tty\n"
28#ifndef BB_FEATURE_TRIVIAL_HELP
29 "\nPrint the file name of the terminal connected to standard input.\n\n"
30 "Options:\n"
31 "\t-s\tprint nothing, only return an exit status\n"
32#endif
33 ;
34
35extern int tty_main(int argc, char **argv) 27extern int tty_main(int argc, char **argv)
36{ 28{
37 char *tty; 29 char *tty;