static void __attribute__ ((__noreturn__)) usage(FILE * out) { fprintf(out, USAGE_HEADER); fprintf(out, _(" %s <hard|soft>\n"), program_invocation_short_name); fprintf(out, USAGE_OPTIONS); fprintf(out, USAGE_HELP); fprintf(out, USAGE_VERSION); fprintf(out, USAGE_MAN_TAIL("ctrlaltdel(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fprintf(out, USAGE_HEADER); fprintf(out, _(" %s [options] new_root put_old\n"), program_invocation_short_name); fprintf(out, USAGE_OPTIONS); fprintf(out, USAGE_HELP); fprintf(out, USAGE_VERSION); fprintf(out, USAGE_MAN_TAIL("pivot_root(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fprintf(out, USAGE_HEADER); /* Synopsis */ fprintf(out, _(" %s [options]\n"), program_invocation_short_name); fprintf(out, USAGE_OPTIONS); fprintf(out, USAGE_HELP); fprintf(out, USAGE_VERSION); fprintf(out, USAGE_MAN_TAIL("arch(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s <disk device> <partition number> <start> <length>\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("addpart(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *output) { fputs(USAGE_HEADER, output); fprintf(output, _(" %s [options] <newrootdir> <init> <args to init>\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, output); fputs(USAGE_HELP, output); fputs(USAGE_VERSION, output); fprintf(output, USAGE_MAN_TAIL("switch_root(8)")); exit(output == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(_(" -s, --since system up since\n"), out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("uptime(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
usage (int status) { if (su_mode == RUNUSER_MODE) { fputs(USAGE_HEADER, stdout); printf (_(" %s [options] -u <user> <command>\n"), program_invocation_short_name); printf (_(" %s [options] [-] [<user> [<argument>...]]\n"), program_invocation_short_name); fputs (_("\n" "Run <command> with the effective user ID and group ID of <user>. If -u is\n" "not given, fall back to su(1)-compatible semantics and execute standard shell.\n" "The options -c, -f, -l, and -s are mutually exclusive with -u.\n"), stdout); fputs(USAGE_OPTIONS, stdout); fputs (_(" -u, --user <user> username\n"), stdout); } else { fputs(USAGE_HEADER, stdout); printf (_(" %s [options] [-] [<user> [<argument>...]]\n"), program_invocation_short_name); fputs (_("\n" "Change the effective user ID and group ID to that of <user>.\n" "A mere - implies -l. If <user> is not given, root is assumed.\n"), stdout); fputs(USAGE_OPTIONS, stdout); } fputs (_(" -m, -p, --preserve-environment do not reset environment variables\n"), stdout); fputs (_(" -g, --group <group> specify the primary group\n"), stdout); fputs (_(" -G, --supp-group <group> specify a supplemental group\n\n"), stdout); fputs (_(" -, -l, --login make the shell a login shell\n"), stdout); fputs (_(" -c, --command <command> pass a single command to the shell with -c\n"), stdout); fputs (_(" --session-command <command> pass a single command to the shell with -c\n" " and do not create a new session\n"), stdout); fputs (_(" -f, --fast pass -f to the shell (for csh or tcsh)\n"), stdout); fputs (_(" -s, --shell <shell> run <shell> if /etc/shells allows it\n"), stdout); fputs (" -v, --verbose verbose output\n", stdout); fputs(USAGE_SEPARATOR, stdout); fputs(USAGE_HELP, stdout); fputs(USAGE_VERSION, stdout); printf(USAGE_MAN_TAIL(su_mode == SU_MODE ? "su(1)" : "runuser(1)")); exit (status); }
static void __attribute__((__noreturn__)) usage(void) { FILE *out = stdout; fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Set the attributes of a terminal.\n"), out); fputs(USAGE_OPTIONS, out); fputs(_(" --term <terminal_name> override TERM environment variable\n"), out); fputs(_(" --reset reset terminal to power-on state\n"), out); fputs(_(" --resize reset terminal rows and columns\n"), out); fputs(_(" --initialize display init string, and use default settings\n"), out); fputs(_(" --default use default terminal settings\n"), out); fputs(_(" --store save current terminal settings as default\n"), out); fputs(_(" --cursor [on|off] display cursor\n"), out); fputs(_(" --repeat [on|off] keyboard repeat\n"), out); fputs(_(" --appcursorkeys [on|off] cursor key application mode\n"), out); fputs(_(" --linewrap [on|off] continue on a new line when a line is full\n"), out); fputs(_(" --inversescreen [on|off] swap colors for the whole screen\n"), out); fputs(_(" --foreground default|<color> set foreground color\n"), out); fputs(_(" --background default|<color> set background color\n"), out); fputs(_(" --ulcolor [bright] <color> set underlined text color\n"), out); fputs(_(" --hbcolor [bright] <color> set bold text color\n"), out); fputs(_(" <color>: black blue cyan green grey magenta red white yellow\n"), out); fputs(_(" --bold [on|off] bold\n"), out); fputs(_(" --half-bright [on|off] dim\n"), out); fputs(_(" --blink [on|off] blink\n"), out); fputs(_(" --underline [on|off] underline\n"), out); fputs(_(" --reverse [on|off] swap foreground and background colors\n"), out); fputs(_(" --clear [all|rest] clear screen and set cursor position\n"), out); fputs(_(" --tabs [<number>...] set these tab stop positions, or show them\n"), out); fputs(_(" --clrtabs [<number>...] clear these tab stop positions, or all\n"), out); fputs(_(" --regtabs [1-160] set a regular tab stop interval\n"), out); fputs(_(" --blank [0-60|force|poke] set time of inactivity before screen blanks\n"), out); fputs(_(" --dump [<number>] write vcsa<number> console dump to file\n"), out); fputs(_(" --append [<number>] append vcsa<number> console dump to file\n"), out); fputs(_(" --file <filename> name of the dump file\n"), out); fputs(_(" --msg [on|off] send kernel messages to console\n"), out); fputs(_(" --msglevel 0-8 kernel console log level\n"), out); fputs(_(" --powersave [on|vsync|hsync|powerdown|off]\n"), out); fputs(_(" set vesa powersaving features\n"), out); fputs(_(" --powerdown [0-60] set vesa powerdown interval in minutes\n"), out); fputs(_(" --blength [0-2000] duration of the bell in milliseconds\n"), out); fputs(_(" --bfreq <number> bell frequency in Hertz\n"), out); printf( " --help %s\n", USAGE_OPTSTR_HELP); printf( " --version %s\n", USAGE_OPTSTR_VERSION); printf(USAGE_MAN_TAIL("setterm(1)")); exit(EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("nologin(8)")); exit(EXIT_FAILURE); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] <device>\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -L, --label <label> specify a new label\n" " -U, --uuid <uuid> specify a new uuid\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("swaplabel(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, " %s\n", program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Edit the password or group file.\n"), out); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("vipw(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(void) { FILE *out = stdout; fputs(USAGE_HEADER, out); fprintf(out, _(" %s hard|soft\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fprintf(out, _("Set the function of the Ctrl-Alt-Del combination.\n")); fputs(USAGE_OPTIONS, out); printf(USAGE_HELP_OPTIONS(16)); printf(USAGE_MAN_TAIL("ctrlaltdel(8)")); exit(EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(void) { FILE *out = stdout; fputs(USAGE_HEADER, out); fprintf(out, _(" %s <group>\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Log in to a new group.\n"), out); fputs(USAGE_OPTIONS, out); printf(USAGE_HELP_OPTIONS(16)); printf(USAGE_MAN_TAIL("newgrp(1)")); exit(EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] [tty]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -d, --delay <secs> update delay in seconds\n"), out); fputs(_(" -s, --scale <num> vertical scale\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("tload(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(void) { FILE *out = stdout; fprintf(out, _("Usage: %s [options] [file ...]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Reverse lines characterwise.\n"), out); fputs(USAGE_OPTIONS, out); printf(USAGE_HELP_OPTIONS(16)); printf(USAGE_MAN_TAIL("rev(1)")); exit(EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fprintf(out, _("Usage: %s [options] [file ...]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Reverse lines characterwise.\n"), out); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("rev(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fprintf(out, USAGE_HEADER); fprintf(out, _(" %s [options] <mountpoint>\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -f, --freeze freeze the filesystem\n"), out); fputs(_(" -u, --unfreeze unfreeze the filesystem\n"), out); fprintf(out, USAGE_SEPARATOR); fprintf(out, USAGE_HELP); fprintf(out, USAGE_VERSION); fprintf(out, USAGE_MAN_TAIL("fsfreeze(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s <disk device> <partition number> <length>\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Tell the kernel about the new size of a partition.\n"), out); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("resizepart(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] expression replacement file...\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -v, --verbose explain what is being done\n"), out); fputs(_(" -s, --symlink act on symlink target\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("rename(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] [<file> | <message>]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -n, --nobanner do not print banner, works only for root\n"), out); fputs(_(" -t, --timeout <timeout> write timeout in seconds\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("wall(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(int rc) { FILE *out = rc ? stderr : stdout; fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] {LABEL,UUID,PARTUUID,PARTLABEL}=<value>\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Find a filesystem by label or UUID.\n"), out); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("findfs(8)")); exit(rc); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] <device>\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -o, --offset <num> offset in bytes to discard from\n" " -l, --length <num> length of bytes to discard from the offset\n" " -s, --secure perform secure discard\n" " -v, --verbose print aligned length and offset\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("blkdiscard(8)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fprintf(out, _("\nUsage:\n" " %s [startcol [endcol]]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, out); fputs(_("Filter out the specified columns.\n"), out); fputs(USAGE_OPTIONS, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, _("%s reads from standard input and writes to standard output\n\n"), program_invocation_short_name); fprintf(out, USAGE_MAN_TAIL("colrm(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _( " %s [options] <program> [arguments ...]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -c, --ctty set the controlling terminal to the current one\n"), out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("setsid(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -f, --file <file> use file as a cookie seed\n"), out); fputs(_(" -m, --max-size <num> limit how much is read from seed files\n"), out); fputs(_(" -v, --verbose explain what is being done\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("mcookie(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _( " %s [options] [tty device]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -p, --login-shell start a login shell\n" " -t, --timeout <seconds> max time to wait for a password (default: no limit)\n" " -e, --force examine password files directly if getpwnam(3) fails\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("sulogin(8)")); }
static void __attribute__ ((__noreturn__)) usage(FILE * out) { fprintf(out, USAGE_HEADER); fprintf(out, _(" %s [options]\n"), program_invocation_short_name); fprintf(out, USAGE_OPTIONS); fputs(_(" -M, --shmem <size> create shared memory segment of size <size>\n"), out); fputs(_(" -S, --semaphore <nsems> create semaphore array with <nsems> elements\n"), out); fputs(_(" -Q, --queue create message queue\n"), out); fputs(_(" -p, --mode <mode> permission for the resource (default is 0644)\n"), out); fprintf(out, USAGE_SEPARATOR); fprintf(out, USAGE_HELP); fprintf(out, USAGE_VERSION); fprintf(out, USAGE_MAN_TAIL("ipcmk(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(void) { fputs(USAGE_HEADER, stdout); printf(_(" %s [-p] [-h <host>] [-H] [[-f] <username>]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, stdout); fputs(_("Begin a session on the system.\n"), stdout); fputs(USAGE_OPTIONS, stdout); puts(_(" -p do not destroy the environment")); puts(_(" -f skip a second login authentication")); puts(_(" -h <host> hostname to be used for utmp logging")); puts(_(" -H suppress hostname in the login prompt")); printf(" --help %s\n", USAGE_OPTSTR_HELP); printf(" -V, --version %s\n", USAGE_OPTSTR_VERSION); printf(USAGE_MAN_TAIL("login(1)")); exit(EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %s [options] [filename]\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -f, --follow output appended data as the file grows\n"), out); fputs(_(" -r, --reverse write back dumped data into utmp file\n"), out); fputs(_(" -o, --output <file> write to file instead of standard output\n"), out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("utmpdump(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }
static void __attribute__((__noreturn__)) usage(FILE *out) { fputs(USAGE_HEADER, out); fprintf(out, _(" %1$s [-qd] /path/to/directory\n" " %1$s -x /dev/device\n"), program_invocation_short_name); fputs(USAGE_OPTIONS, out); fputs(_(" -q, --quiet quiet mode - don't print anything\n" " -d, --fs-devno print maj:min device number of the filesystem\n" " -x, --devno print maj:min device number of the block device\n"), out); fputs(USAGE_SEPARATOR, out); fputs(USAGE_HELP, out); fputs(USAGE_VERSION, out); fprintf(out, USAGE_MAN_TAIL("mountpoint(1)")); exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS); }