mirror of
https://github.com/kdave/btrfs-progs
synced 2025-02-02 10:51:43 +00:00
btrfs-progs: btrfs-crc: improve usage message
- If -c is set, filename argument is ignored. - Describe about -h option Signed-off-by: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
parent
9e4e17f361
commit
ff6fe039d3
@ -26,10 +26,12 @@ void print_usage(int status)
|
||||
{
|
||||
printf("usage: btrfs-crc filename\n");
|
||||
printf(" print out the btrfs crc for \"filename\"\n");
|
||||
printf("usage: btrfs-crc filename -c crc [-s seed] [-l length]\n");
|
||||
printf("usage: btrfs-crc -c crc [-s seed] [-l length]\n");
|
||||
printf(" brute force search for file names with the given crc\n");
|
||||
printf(" -s seed the random seed (default: random)\n");
|
||||
printf(" -l length the length of the file names (default: 10)\n");
|
||||
printf("usage: btrfs-crc -h\n");
|
||||
printf(" print this message\n");
|
||||
exit(status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user