diff --git a/btrfsctl.c b/btrfsctl.c index 66c4e89..e37e2e3 100644 --- a/btrfsctl.c +++ b/btrfsctl.c @@ -46,7 +46,7 @@ static inline int ioctl(int fd, int define, void *arg) { return 0; } static void print_usage(void) { printf("usage: btrfsctl [ -d file|dir] [ -s snap_name subvol|tree ]\n"); - printf(" [-r size] [-A device] [-a] [-c] [-D dir .]\n"); + printf(" [-r size] [-A device] [-a] [-c] [-D snap_name dir]\n"); printf("\t-d filename: defragments one file\n"); printf("\t-d directory: defragments the entire Btree\n"); printf("\t-s snap_name dir: creates a new snapshot of dir\n"); @@ -55,7 +55,7 @@ static void print_usage(void) printf("\t-A device: scans the device file for a Btrfs filesystem\n"); printf("\t-a: scans all devices for Btrfs filesystems\n"); printf("\t-c: forces a single FS sync\n"); - printf("\t-D: delete snapshot\n"); + printf("\t-D: snap_name dir: delete named snapshot in directory dir\n"); printf("%s\n", BTRFS_BUILD_VERSION); exit(1); }