summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-03 05:51:20 +0100
committerDenys Vlasenko2009-11-03 05:51:20 +0100
commit68c67469aabe112cc0ef90bd87700370d96a4085 (patch)
treec5cd96f07291db18c736da2cd2ae5698948b3061 /include
parentc6fb2a6b5fcece0ee4a7caf42cc344b5e0177822 (diff)
downloadbusybox-68c67469aabe112cc0ef90bd87700370d96a4085.zip
busybox-68c67469aabe112cc0ef90bd87700370d96a4085.tar.gz
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 f703e32..0d01577 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2815,17 +2815,11 @@
"$ mknod -m 644 /tmp/pipe p\n"
#define mkswap_trivial_usage \
- "DEVICE"
+ "[OPTIONS] BLOCKDEV" /* [SIZE_IN_KB] */
#define mkswap_full_usage "\n\n" \
- "Prepare block device to be used as swap partition"
-#if 0
- "[-c] [-v0|-v1] DEVICE [BLOCKS]"
- "\nOptions:"
- "\n -c Check for readability"
- "\n -v0 Make swap version 0 (max 128M)"
- "\n -v1 Make swap version 1 (default for kernels > 2.1.117)"
- "\n BLOCKS Number of blocks to use (default is entire partition)"
-#endif
+ "Prepare BLOCKDEV to be used as swap partition\n" \
+ "\nOptions:" \
+ "\n -L LBL Label" \
#define mktemp_trivial_usage \
"[-dt] [-p DIR] [TEMPLATE]"