MCPcopy Create free account
hub / github.com/coreutils/coreutils / usage

Function usage

src/groups.c:46–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44};
45
46void
47usage (int status)
48{
49 if (status != EXIT_SUCCESS)
50 emit_try_help ();
51 else
52 {
53 printf (_("Usage: %s [OPTION]... [USERNAME]...\n"), program_name);
54 fputs (_("\
55Print group memberships for each USERNAME or, if no USERNAME is specified, for\
56\n\
57the current process (which may differ if the groups database has changed).\n"),
58 stdout);
59 oputs (HELP_OPTION_DESCRIPTION);
60 oputs (VERSION_OPTION_DESCRIPTION);
61 emit_ancillary_info (PROGRAM_NAME);
62 }
63 exit (status);
64}
65
66int
67main (int argc, char **argv)

Callers 1

mainFunction · 0.70

Calls 1

emit_ancillary_infoFunction · 0.85

Tested by

no test coverage detected