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

Function usage

src/expand.c:63–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61};
62
63void
64usage (int status)
65{
66 if (status != EXIT_SUCCESS)
67 emit_try_help ();
68 else
69 {
70 printf (_("\
71Usage: %s [OPTION]... [FILE]...\n\
72"),
73 program_name);
74 fputs (_("\
75Convert tabs in each FILE to spaces, writing to standard output.\n\
76"), stdout);
77
78 emit_stdin_note ();
79 emit_mandatory_arg_note ();
80
81 oputs (_("\
82 -i, --initial\n\
83 do not convert tabs after non blanks\n\
84"));
85 oputs (_("\
86 -t, --tabs=N\n\
87 have tabs N characters apart, not 8\n\
88"));
89 emit_tab_list_info (PROGRAM_NAME);
90 oputs (HELP_OPTION_DESCRIPTION);
91 oputs (VERSION_OPTION_DESCRIPTION);
92 emit_ancillary_info (PROGRAM_NAME);
93 }
94 exit (status);
95}
96
97
98/* Change tabs to spaces, writing to stdout.

Callers 1

mainFunction · 0.70

Calls 4

emit_stdin_noteFunction · 0.85
emit_mandatory_arg_noteFunction · 0.85
emit_tab_list_infoFunction · 0.85
emit_ancillary_infoFunction · 0.85

Tested by

no test coverage detected