diff options
Diffstat (limited to 'src/strace.c')
-rw-r--r-- | src/strace.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/strace.c b/src/strace.c index 21b693d02..7a58bdbd6 100644 --- a/src/strace.c +++ b/src/strace.c @@ -2606,6 +2606,10 @@ init(int argc, char *argv[]) argc -= optind; if (argc < 0 || (!nprocs && !argc)) { + if (show_tips != TIPS_NONE) { + print_totd(); + exit(exit_code); + } error_msg_and_help("must have PROG [ARGS] or -p PID"); } |