aboutsummaryrefslogtreecommitdiff
path: root/id.c
diff options
context:
space:
mode:
authorkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
committerkraai <kraai@69ca8d6d-28ef-0310-b511-8ec308f3f277>2000-07-16 20:57:15 +0000
commitd353f773bab8c0f92e149a74400aa31b57da9d05 (patch)
treee8c416c791c690f661c513340662e4e98ff3464a /id.c
parent3ab1d8193e335afa74e86a8d8e628158d7e503b9 (diff)
downloadbusybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.gz
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.tar.bz2
busybox-w32-d353f773bab8c0f92e149a74400aa31b57da9d05.zip
Extract usage information into a separate file.
git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'id.c')
-rw-r--r--id.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/id.c b/id.c
index 69dfe2658..56a2e279f 100644
--- a/id.c
+++ b/id.c
@@ -28,17 +28,6 @@
28#include <grp.h> 28#include <grp.h>
29#include <sys/types.h> 29#include <sys/types.h>
30 30
31static const char id_usage[] =
32 "id [OPTIONS]... [USERNAME]\n"
33#ifndef BB_FEATURE_TRIVIAL_HELP
34 "\nPrint information for USERNAME or the current user\n\n"
35 "Options:\n"
36 "\t-g\tprints only the group ID\n"
37 "\t-u\tprints only the user ID\n"
38 "\t-r\tprints the real user ID instead of the effective ID (with -ug)\n\n"
39#endif
40 ;
41
42extern int id_main(int argc, char **argv) 31extern int id_main(int argc, char **argv)
43{ 32{
44 int no_user = 0, no_group = 0, print_real = 0; 33 int no_user = 0, no_group = 0, print_real = 0;