summaryrefslogtreecommitdiff
path: root/whoami.c
diff options
context:
space:
mode:
Diffstat (limited to 'whoami.c')
-rw-r--r--whoami.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/whoami.c b/whoami.c
index f9d3f28..da58479 100644
--- a/whoami.c
+++ b/whoami.c
@@ -24,8 +24,11 @@
#include <stdio.h>
#include <pwd.h>
-static const char whoami_usage[] = "whoami\n\n"
- "Prints the user name associated with the current effective user id.\n";
+static const char whoami_usage[] = "whoami\n"
+#ifndef BB_FEATURE_TRIVIAL_HELP
+ "\nPrints the user name associated with the current effective user id.\n"
+#endif
+ ;
extern int whoami_main(int argc, char **argv)
{