summaryrefslogtreecommitdiffstats
path: root/sys-utils/setarch.c
diff options
context:
space:
mode:
authorBenno Schulenberg2014-12-24 17:56:06 +0100
committerKarel Zak2015-01-06 11:43:16 +0100
commit26b0b857c9a8da0def14ec7f0a76926712aa4be4 (patch)
tree9e557f7d4307928d15629c3ceffaa9b82176fc71 /sys-utils/setarch.c
parentsetarch: make the usage synopsis comprehensible for translators (diff)
downloadkernel-qcow2-util-linux-26b0b857c9a8da0def14ec7f0a76926712aa4be4.tar.gz
kernel-qcow2-util-linux-26b0b857c9a8da0def14ec7f0a76926712aa4be4.tar.xz
kernel-qcow2-util-linux-26b0b857c9a8da0def14ec7f0a76926712aa4be4.zip
textual: list the options of setarch in a more alphabetical order
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils/setarch.c')
-rw-r--r--sys-utils/setarch.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sys-utils/setarch.c b/sys-utils/setarch.c
index 518eaca4b..8e5217937 100644
--- a/sys-utils/setarch.c
+++ b/sys-utils/setarch.c
@@ -100,24 +100,26 @@ static void __attribute__((__noreturn__)) show_help(void)
fputs(_("Change the reported architecture and set personality flags.\n"), stdout);
fputs(USAGE_OPTIONS, stdout);
- fputs(_(" -v, --verbose says what options are being switched on\n"), stdout);
- fputs(_(" -R, --addr-no-randomize disables randomization of the virtual address space\n"), stdout);
- fputs(_(" -F, --fdpic-funcptrs makes function pointers point to descriptors\n"), stdout);
- fputs(_(" -Z, --mmap-page-zero turns on MMAP_PAGE_ZERO\n"), stdout);
- fputs(_(" -L, --addr-compat-layout changes the way virtual memory is allocated\n"), stdout);
- fputs(_(" -X, --read-implies-exec turns on READ_IMPLIES_EXEC\n"), stdout);
fputs(_(" -B, --32bit turns on ADDR_LIMIT_32BIT\n"), stdout);
+ fputs(_(" -F, --fdpic-funcptrs makes function pointers point to descriptors\n"), stdout);
fputs(_(" -I, --short-inode turns on SHORT_INODE\n"), stdout);
+ fputs(_(" -L, --addr-compat-layout changes the way virtual memory is allocated\n"), stdout);
+ fputs(_(" -R, --addr-no-randomize disables randomization of the virtual address space\n"), stdout);
fputs(_(" -S, --whole-seconds turns on WHOLE_SECONDS\n"), stdout);
fputs(_(" -T, --sticky-timeouts turns on STICKY_TIMEOUTS\n"), stdout);
+ fputs(_(" -X, --read-implies-exec turns on READ_IMPLIES_EXEC\n"), stdout);
+ fputs(_(" -Z, --mmap-page-zero turns on MMAP_PAGE_ZERO\n"), stdout);
fputs(_(" -3, --3gb limits the used address space to a maximum of 3 GB\n"), stdout);
fputs(_(" --4gb ignored (for backward compatibility only)\n"), stdout);
fputs(_(" --uname-2.6 turns on UNAME26\n"), stdout);
+ fputs(_(" -v, --verbose say what options are being switched on\n"), stdout);
fputs(_(" --list list settable architectures, and exit\n"), stdout);
+
fputs(USAGE_SEPARATOR, stdout);
fputs(USAGE_HELP, stdout);
fputs(USAGE_VERSION, stdout);
printf(USAGE_MAN_TAIL("setarch(8)"));
+
exit(EXIT_SUCCESS);
}