if (have_read_stdin && fclose (stdin) != 0)
die (EXIT_FAILURE, errno, "-");
}
+
+
+extern void
+emit_tab_list_info (void)
+{
+ /* suppress syntax check for emit_mandatory_arg_note() */
+ fputs (_("\
+ -t, --tabs=LIST use comma separated list of tab positions\n\
+"), stdout);
+ fputs (_("\
+ The last specified position can be prefixed with '/'\n\
+ to specify a tab size to use after the last\n\
+ explicitly specified tab stop. Also a prefix of '+'\n\
+ can be used to align remaining tab stops relative to\n\
+ the last specified tab stop instead of the first column\n\
+"), stdout);
+}
/* */
extern void
cleanup_file_list_stdin (void);
+
+
+extern void
+emit_tab_list_info (void);
emit_mandatory_arg_note ();
fputs (_("\
- -i, --initial do not convert tabs after non blanks\n\
- -t, --tabs=NUMBER have tabs NUMBER characters apart, not 8\n\
-"), stdout);
- fputs (_("\
- -t, --tabs=LIST use comma separated list of explicit tab positions\n\
+ -i, --initial do not convert tabs after non blanks\n\
+ -t, --tabs=N have tabs N characters apart, not 8\n\
"), stdout);
+ emit_tab_list_info ();
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
emit_ancillary_info (PROGRAM_NAME);
-a, --all convert all blanks, instead of just initial blanks\n\
--first-only convert only leading sequences of blanks (overrides -a)\n\
-t, --tabs=N have tabs N characters apart instead of 8 (enables -a)\n\
- -t, --tabs=LIST use comma separated LIST of tab positions (enables -a)\n\
"), stdout);
+ emit_tab_list_info ();
fputs (HELP_OPTION_DESCRIPTION, stdout);
fputs (VERSION_OPTION_DESCRIPTION, stdout);
emit_ancillary_info (PROGRAM_NAME);