aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2009-11-03 05:51:20 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2009-11-03 05:51:20 +0100
commit68c67469aabe112cc0ef90bd87700370d96a4085 (patch)
treec5cd96f07291db18c736da2cd2ae5698948b3061 /include
parentc6fb2a6b5fcece0ee4a7caf42cc344b5e0177822 (diff)
downloadbusybox-w32-68c67469aabe112cc0ef90bd87700370d96a4085.tar.gz
busybox-w32-68c67469aabe112cc0ef90bd87700370d96a4085.tar.bz2
busybox-w32-68c67469aabe112cc0ef90bd87700370d96a4085.zip
mkswap: add -L LABEL option. closes bug 689.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/usage.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/include/usage.h b/include/usage.h
index f703e3250..0d01577c7 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2815,17 +2815,11 @@
2815 "$ mknod -m 644 /tmp/pipe p\n" 2815 "$ mknod -m 644 /tmp/pipe p\n"
2816 2816
2817#define mkswap_trivial_usage \ 2817#define mkswap_trivial_usage \
2818 "DEVICE" 2818 "[OPTIONS] BLOCKDEV" /* [SIZE_IN_KB] */
2819#define mkswap_full_usage "\n\n" \ 2819#define mkswap_full_usage "\n\n" \
2820 "Prepare block device to be used as swap partition" 2820 "Prepare BLOCKDEV to be used as swap partition\n" \
2821#if 0 2821 "\nOptions:" \
2822 "[-c] [-v0|-v1] DEVICE [BLOCKS]" 2822 "\n -L LBL Label" \
2823 "\nOptions:"
2824 "\n -c Check for readability"
2825 "\n -v0 Make swap version 0 (max 128M)"
2826 "\n -v1 Make swap version 1 (default for kernels > 2.1.117)"
2827 "\n BLOCKS Number of blocks to use (default is entire partition)"
2828#endif
2829 2823
2830#define mktemp_trivial_usage \ 2824#define mktemp_trivial_usage \
2831 "[-dt] [-p DIR] [TEMPLATE]" 2825 "[-dt] [-p DIR] [TEMPLATE]"