diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index 9d9ad008b..be52f187f 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -649,8 +649,16 @@ | |||
649 | "\n -S SALT" \ | 649 | "\n -S SALT" \ |
650 | ) \ | 650 | ) \ |
651 | 651 | ||
652 | #define cttyhack_trivial_usage NOUSAGE_STR | 652 | #define cttyhack_trivial_usage \ |
653 | #define cttyhack_full_usage "" | 653 | "PROG ARGS" |
654 | #define cttyhack_full_usage "\n\n" \ | ||
655 | "Give PROG a controlling tty if possible." \ | ||
656 | "\nExample for /etc/inittab (for busybox init):" \ | ||
657 | "\n ::respawn:/bin/cttyhack /bin/sh" \ | ||
658 | "\nGiving controlling tty to shell running with PID 1:" \ | ||
659 | "\n $ exec cttyhack sh" \ | ||
660 | "\nStarting an interative shell from boot shell script:" \ | ||
661 | "\n setsid cttyhack sh" \ | ||
654 | 662 | ||
655 | #define cut_trivial_usage \ | 663 | #define cut_trivial_usage \ |
656 | "[OPTIONS] [FILE]..." | 664 | "[OPTIONS] [FILE]..." |