diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/include/usage.h b/include/usage.h index 09c8fa7d1..b028f5a5c 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1868,19 +1868,21 @@ | |||
1868 | " -f Output data as the log grows" | 1868 | " -f Output data as the log grows" |
1869 | 1869 | ||
1870 | #define losetup_trivial_usage \ | 1870 | #define losetup_trivial_usage \ |
1871 | "[-o OFFSET] [-d] LOOPDEVICE [FILE]]" | 1871 | "[-o OFS] LOOPDEV FILE - associate loop devices\n" \ |
1872 | " losetup -d LOOPDEV - disassociate\n" \ | ||
1873 | " losetup [-f] - show" | ||
1872 | #define losetup_full_usage \ | 1874 | #define losetup_full_usage \ |
1873 | "(Dis)associate LOOPDEVICE with FILE, or display current associations" \ | 1875 | "Options:\n" \ |
1874 | "\n\nOptions:\n" \ | 1876 | " -o OFS Start OFS bytes into FILE\n" \ |
1875 | " -d Disassociate LOOPDEVICE\n" \ | 1877 | " -f Show first free loop device" |
1876 | " -o OFFSET Start OFFSET bytes into FILE" | ||
1877 | #define losetup_notes_usage \ | 1878 | #define losetup_notes_usage \ |
1878 | "No arguments will display all current associations.\n" \ | 1879 | "No arguments will display all current associations.\n" \ |
1879 | "One argument (losetup /dev/loop1) will display the current association\n" \ | 1880 | "One argument (losetup /dev/loop1) will display the current association\n" \ |
1880 | "(if any), or disassociate it (with -d). The display shows the offset\n" \ | 1881 | "(if any), or disassociate it (with -d). The display shows the offset\n" \ |
1881 | "and filename of the file the loop device is currently bound to.\n\n" \ | 1882 | "and filename of the file the loop device is currently bound to.\n\n" \ |
1882 | "Two arguments (losetup /dev/loop1 file.img) create a new association,\n" \ | 1883 | "Two arguments (losetup /dev/loop1 file.img) create a new association,\n" \ |
1883 | "with an optional offset (-o 12345). Encryption is not yet supported.\n\n" | 1884 | "with an optional offset (-o 12345). Encryption is not yet supported.\n" \ |
1885 | "losetup -f will show the first loop free loop device\n\n" | ||
1884 | 1886 | ||
1885 | #define ls_trivial_usage \ | 1887 | #define ls_trivial_usage \ |
1886 | "[-1Aa" USE_FEATURE_LS_TIMESTAMPS("c") "Cd" \ | 1888 | "[-1Aa" USE_FEATURE_LS_TIMESTAMPS("c") "Cd" \ |